Forums › ProRealTime English forum › ProScreener support › Screener Elliott Wave Indicator › Reply To: Screener Elliott Wave Indicator
10/13/2016 at 1:49 PM
#14846
Hallo Grahal,
here is the indicator code. Have fun and good trades.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
pr= 2 pr2= 10 EWpk2= HIGHEST[1](High) > (High)*(1-pr2)/100 EWtr2= LOWEST[1](Low) < (Low)*(1-pr2)/100 zzHi2=ZigZag[pr2](High) zzLo2=ZigZag[pr2](Low) avg2=(zzHi2+zzLo2)/2 If EWpk2 Then RetroSuccessSecret2= zzHi2 ELSIF EWtr2 Then RetroSuccessSecret2= zzLo2 ELSIF (avg2>avg2[1]) THEN RetroSuccessSecret2= high ELSE RetroSuccessSecret2= Low ENDIF EW2=ZigZag[pr2](RetroSuccessSecret2) LRZZEW2= LinearRegressionSlope[pr](EW2) RETURN LRZZEW2 coloured(0,0,200) AS "LRZZ EW[10]" |