Skip to main content

ADXR for Amibroker (AFL)

wonglongchun over 10 years ago Amibroker (AFL)

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

Average Directional Movement Rating quantifies momentum change in the ADX. It is calculated by adding two values of ADX (the current value and a value n periods back), then dividing by two. This additional smoothing makes the ADXR slightly less responsive than ADX. The interpretation is the same as the ADX; the higher the value, the stronger the trend.

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("ADXR");

periods = Param("Periods", 14, 2, 300, 1);

ADXR = ( ADX(Periods) + Ref(ADX(Periods), -Periods) )/2;

Color = ParamColor("Color", colorCycle);
Style = ParamStyle("Style");

Plot(ADXR, _DEFAULT_NAME(), Color, Style);

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.