Hello,
Is it possible to have a screener searching for stocks that is in the lower daily range.
Lets say the screener should screen for all stocks that is in the lower 50% or daily range. And in the screener show where in the range the stock is?
Br
There you go (not tested):
DailyRange = Dhigh(0) - Dlow(0)
MidPos = Dlow(0) + (DailyRange / 2)
CurPrice = close - Dlow(0)
PerCent = CurPrice * 100 / DailyRange
Cond = (close <= MidPos)
Screener[Cond](PerCent AS “ % “)
Thank you. when I manual calculate it should be okey but my screener don’t show the correct number.
Any suggestions why? Have had it with another indicator I made as well. But that just showed wrong for one stock.