On 12/25/2009 1:03 AM, Yves wrote:

Indic := CCI(21) ;

YL:= If(Indic>100,100, {give me the Top }

If(Indic<-100,-100,Indic)) ;   {give me the Bottom }

yl;    {my CCI }

Zig(YL,200,%) ;   {my

Indic = CCI(21) ;
YL = IIf(Indic>100,100, /*{give me the Top }*/ IIf(Indic<-100,-100,Indic)); //{give me the Bottom }
yl;    //{my CCI }
Plot(Zig(YL,200), "", colorBlue);   //{my
Plot(yl, "", colorRed);

Reply via email to