Best CCI Accurate Indicator

Best CCI Accurate Indicator
Best CCI Accurate Indicator

//www.aflcode.com
_SECTION_BEGIN("CCI");
SetChartOptions(0,0,chartGrid100|chartGridDiv100);
Period = Param("CCI Period",20,1,100,1);
CCILineColor = ParamColor("CCI Line Color",colorDarkGreen);
CCIOverboughtColor = ParamColor("CCI Overbought Color", colorGreen);
CCIOversoldColor = ParamColor("CCI Oversold Color", colorRed);


z = CCI(Period);
Plot(z,"CCI",IIf(z<-100,CCIOversoldColor,IIf(z>100,CCIOverboughtColor,CCILineColor)));
Plot(100,"100",CCILineColor,styleNoTitle|styleNoLabel);
Plot(-100,"-100",CCILineColor,styleNoTitle|styleNoLabel);
PlotOHLC(z,z,50,z,"",IIf(z>50,CCIOverboughtColor,CCIOversoldcolor),styleCloud|styleClipMinMax,-100,100);
_SECTION_END();
Previous
Next Post »