thinkscript that indicates if a stock has hit a low within last 5 minutes to add within my watchlist..
I used this script and added it to my watchlist but since the aggregation is 1 day, it stays on my scan since the low happened within the day.
input lookback = 1;
def llw = lowest(low,60);
plot sixtydaylow = lowest(low,lookback)==llw;
Is there a way that to change the lookback period to within 5 or 10 minutes, so that if the low didn't happen within the last 5 or 10 minutes then it will not come up?
Or is there a indicator I can add to indicate if the stock hit the low within the 5 minute time frame?
any help greatly appreciated
I used this script and added it to my watchlist but since the aggregation is 1 day, it stays on my scan since the low happened within the day.
input lookback = 1;
def llw = lowest(low,60);
plot sixtydaylow = lowest(low,lookback)==llw;
Is there a way that to change the lookback period to within 5 or 10 minutes, so that if the low didn't happen within the last 5 or 10 minutes then it will not come up?
Or is there a indicator I can add to indicate if the stock hit the low within the 5 minute time frame?
any help greatly appreciated
Last edited: