Skip to main content

Smooth CCI for Amibroker (AFL)

rh0390 over 16 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 9)
  • Tags:

When CCI Line touch -100 (Green Line) and cross signal line i think it is best buy and vice versa

Screenshots

Indicator / Formula

Copy & Paste Friendly
_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();

2 comments

Leave Comment

Please login here to leave a comment.