.

ADX Directional Movement Index - Amibroker AFL Code

Click Image To Enlarge. Please Rate And Comment.

ADX Directional Movement Index

_SECTION_BEGIN("ADX");
range = Param("Periods", 14, 2, 200, 1 );
//Plot( ADX(range), _DEFAULT_NAME(), ParamColor( "ADX color", colorBlue ), ParamStyle("ADX style", styleThick ) );
Plot( PDI(range), "+DI", ParamColor( "+DI color", colorGreen ), ParamStyle("+DI style",styleThick) );
Plot( MDI(range), "-DI", ParamColor( "-DI color", colorRed ), ParamStyle("-DI style",styleThick) );
_SECTION_END();
Previous Post Next Post