Hi everybody!
Could someone help me to create a screener for long entry only. The conditions are:
a) CCI (Commodity Chanel Index) for 5 periods crosses up -100 level.
b) SMA (20) > SMA(40)
c) SMA (40) rising, (=the value today is > value yesterday).
Thank you in advance.
Not tested:
MyCCI = cci[5]
Sma20 = average[20,0](close)
Sma40 = average[40,0](close)
c1 = MyCCI CROSSES OVER -100
c2 = Sma20 > Sma40
c3 = Sma40 > Sma40[1]
MyConditions = c1 AND c2 AND c3
SCREENER[MyConditions]