Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

CCI Modified Overbought Oversold Zone

CCI Modified Overbought Oversold Zone
CCI Modified Overbought Oversold Zone

//www.aflcode.com
_SECTION_BEGIN("CCI");
Plot( CCI( 14 ), "CCI", colorRed, styleThick  );
Plot(80,"",colorWhite,styleDashed);
Plot(0,"",colorRed,styleDashed);
Plot(-80,"",colorWhite,styleDashed);

Cc = CCI(14);
PlotOHLC( Cc,Cc,80,Cc, "", IIf( Cc > 0, colorGreen, colorRed ), styleCloud | styleClipMinMax, -80, 80 ); 


Buy = Cross(Cc,80);

Sell = Cross(-80,Cc);

//PlotShapes (Buy*shapeUpArrow,colorRed);
//PlotShapes (Sell*shapeDownArrow,colorRed);
  
_SECTION_END();
Previous
Next Post »