hi there, if somene can help i have 2 questions,
i want to screen stocks with an indicator (for eg ADX indicator) that moves in a range between lets say 13000-14000 value for the last 10 consecutive periods.
i thought the code would look like:
ADX[14] > 13000 AND ADX[14] < 14000 AND
ADX[14][1] > 13000 AND ADX[14][1] < 14000 AND
ADX[14][2] > 13000 AND ADX[14][2] < 14000 AND
...
ADX[14][9] > 13000 AND ADX[14][9] < 14000 AND
is there any shortest way/command to use to achieve my goal?
thank you
I know yours is just an example, because ADX can never be that high!
There you go:
Periods = 10
MyAdx = Adx[14]
Cond = summation[Periods]((MyAdx >= 15) AND (MyAdx <= 35)) = Periods
SCREENER[Cond]
thank you mr. Roberto Gozzi