I think it is the same. Please see:
Indic = CCI(21) ;
YL = IIf(Indic>100,100,IIf(Indic<-100,-100,Indic)) ;
Top1 = PeakBars(YL,200,1) ;//????
Top2 = PeakBars(YL,200,2) ;//????
Plot(yl, "Z-CCI", colorRed);
Plot(Zig(YL,200), "ZIG", colorBlue);
Plot(TroughBars(YL,200,1)==0, "", colorWhite, styleOwnScale);
On 12/26/2009 10:18 AM, Yves wrote:
Indic := CCI(21) ;
YL:= If(Indic>100,100,
If(Indic<-100,-100,Indic)) ;
Top1 := PeakBars(1,YL,200) ;
Top2 := PeakBars(2,YL,200) ;
yl;
Zig(YL,200,%) ;
{TroughBars(1,YL,200)=0 ;}
{