I want to scan for if prices are near an SMA, like if prices are up to 10% above the SMA. Is there any way to do that?
Maybe it would be easier to do a range? thanks
Code:
close is equal to SimpleMovingAvg("length" = 10)."SMA" OR
close*1.10 + close is equal to SimpleMovingAvg("length" = 10)
Maybe it would be easier to do a range? thanks
Last edited: