Skip to main content

CCI ZERO CROSS WITH ALERT for Amibroker (AFL)

thanigay2k over 12 years ago Amibroker (AFL)

  • Rating:
    4 / 5 (Votes 2)
  • Tags:
    oscillator, trading system, amibroker

CCI 20 ZERO CROSS WITH ALERT

Indicator / Formula

Copy & Paste Friendly
Buy=CCI(20)>0;
Sell=CCI(20)<0;

PlotShapes(IIf(Buy,shapeUpArrow,shapeNone) ,colorBrightGreen);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed);

4 comments

over 10 years ago
Buy=CCI(20)>0;
Sell=CCI(20)<0;
Buy=ExRem(Buy, Sell);
Sell=ExRem(Sell, Buy);

Plot(CCI(20), "CCI", colorBlack, styleHistogram);
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone) ,colorBrightGreen);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed);

Leave Comment

Please login here to leave a comment.