Hi guys
I would like some help to screen stocks that have been under a period of 20weeks or more consolidation, and are now breaking out of that 20week price high, on 2 times or more the average vol.
To narrow it down, the 20EMA should be above the 50EMA which should be above the 200EMA.
I would like to pickup stocks like the attached.
Thank you so much.
There you go:
Ema20 = Average[20,1](close)
Ema50 = Average[50,1](close)
Ema200 = Average[200,1](close)
Vol50 = Average[50,0](Volume) * 2
c1 = Ema20 > Ema50
c2 = Ema50 > Ema200
c3 = Volume >= Vol50
Cond = c1 AND c2 AND c3
SCREENER[Cond](Volume AS "Volume")
Ah looks too easy. Can we add a price condition, that it should be highest for the past 20 weeks ?
Thank you.
Ema20 = Average[20,1](close)
Ema50 = Average[50,1](close)
Ema200 = Average[200,1](close)
Vol50 = Average[50,0](Volume) * 2
c1 = Ema20 > Ema50
c2 = Ema50 > Ema200
c3 = Volume >= Vol50
c4 = close >= highest[19](high[1])
Cond = c1 AND c2 AND c3 AND c4
SCREENER[Cond](Volume AS "Volume")