// Downloaded From www.WiseStockTrader.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();
0 komentar:
Posting Komentar