Skip to main content

%MACD for Amibroker (AFL)

mavirk about 16 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 3)
  • Tags:
    oscillator, macd, amibroker

From Leon Wilson:

Percentage based MACD allow for relative broad market searches beyond zero and trigger line cross overs.

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("MACD%");
Value = ((EMA(Close,12)-EMA(Close,26))/EMA(Close,26))*100;
Plot(Value, "MACD%", colorRed, styleThick);
Plot(EMA(Value,9), "", colorLightBlue);
PlotGrid(0, colorLightGrey);
_SECTION_END();

1 comments

Leave Comment

Please login here to leave a comment.