// Downloaded From https://www.WiseStockTrader.com
_SECTION_BEGIN("Smooth CCI");
///// Smooth CCI ////// 

x=Param("CCI Period 3 - 50",14,3,50,1); 
x1=CCI(x); 
Y=Param("Smooth Factor 3 - 15",7,3,15,1); 
Y2=DEMA(x1,Y); 
Z=Param("Signal Line 3 - 9",3,3,9,1); 
Z2=MA(Y2,Z); 
Plot(X1,"CCI",colorDarkGrey); 
Plot(Y2,"Smooth CCI",colorOrange,styleDots,4); 
Plot(Z2,"Signal",colorDarkYellow,4); 
Plot(100,"",colorRed,styleThick);//styleNoLabel 
Plot(0,"",colorWhite,styleDashed);//styleNoLabel);
Plot(-100,"",colorGreen,styleThick);//styleNoLabel);
_SECTION_END();

_SECTION_BEGIN("Background_Setting");
SetChartBkGradientFill( ParamColor("BgTop", colorBlack),

ParamColor("BgBottom", colorBlack),ParamColor("titleblock",colorDarkTeal ));
_SECTION_END();