Click Image To Enlarge. Please Rate And Comment.
_SECTION_BEGIN("CCI");
periods = Param( "Periods", 14, 2, 200, 1 );
Plot( CCI( periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
Plot (100,"",colorBlue,styleNoLabel); // shows a blue line through 100
Plot (-100,"",colorBlue,styleNoLabel); // shows a blue line through -100
_SECTION_END();
Buy = Cross( CCI(), -100 );
Sell = Cross( 100, CCI() );
PlotShapes(Buy*shapeUpArrow,colorGreen,0,Graph0);
PlotShapes(Sell*shapeDownArrow,colorRed,0,Graph0);