Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

CCI Commodity Channel Index Histogram



CCI Commodity Channel Index Histogram
CCI Commodity Channel Index Histogram


//www.aflcode.com
tcci=Param("tcci",6,1,100,1);
Zt=Param("CCI",14,1,150,1);

//Plot(CCI(tcci),"cci",colorBlack );
Plot(CCI(zt),"",IIf(CCI(zt) > 0, colorGreen, colorRed), styleHistogram+styleNoLabel);
Plot(CCI(zt),"cci",colorWhite);
PlotOHLC(100,IIf(CCI(zt) > 100,CCI(zt),100),100,100,"",colorGreen,styleCloud);
PlotOHLC(-100,-100, IIf(CCI(zt) < -100,CCI(zt),-100),-100,"",colorRed,styleCloud);
Plot(0,"", colorDarkGrey, styleNoLabel);

Previous
Next Post »