♥ 0 |
I’m trying to put together a scan from the documentation but I can’t figure it out. All I really want to do is get the high low and close from the previous week and see is last is close to that point. I think I have most to fit but can’t seem to get the script right.
input timetocheck = week;
def c = close;
def checkPoint; checkPoint = (high(period = timetocheck)[1] + low(period = timetocheck)[1] + close(period = timetocheck)[1]) / 5;
plot scan; scan = close between checkPoint * 1.05 and checkPoint *.95;
Marked as spam
|
Please log in to post questions.