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 ;}
{
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|