A request that was addressed to ProRealTime:
I wish to modify this trend screener to:
150>200
50<200
20<200
20<50 Crossing up
ma50=average[50]
ma150=average[150]
ma200=average[200]
c1 = Close > average[50]
c2 = ma50>ma150
c3 = ma150>ma200
c4 = summation[20](ma200>ma200[1])=20
c5 = Close/lowest[250](low)>1.3
c6 = Close/highest[250](high)>0.75
TrendTemplate = c1 and c2 and c3 and c4 and c5 and c6
screener[TrendTemplate]
Suggestion for an answser:
ma20=average[20](close)
ma50=average[50](close)
ma150=average[150](close)
ma200=average[200](close)
c1 = ma150 > ma200
c2 = ma50 < ma200
c3 = ma20 < ma200
c4 = ma20 CROSSES OVER ma50
screener[c1 and c2 and c3 and c4](variation AS "% Variation")