Mndahoo ADX
The Mndahoo ADX AFL in Amibroker focuses on the Average Directional Index (ADX) to gauge trend strength. Leveraging amibroker data feed functionalities enables traders to analyze trend strength and potential reversals using the ADX indicator. This AFL aids traders in understanding trend dynamics and making informed decisions based on trend strength indications.
/ // By Ahmed Mohammed Al-asmari //----------------------------------------------------------------------------------------------------------------- MaxGraph =10; //--------------------- Graph0 = 70; Graph1 = 60; Graph2 = 50; Graph3 = 40; Graph4 = 20; //--------------------- Graph0Color = 2 ; Graph1Color = 2; Graph2Color = 2; Graph3Color = 1; Graph4Color = 3; //--------------------- Graph0Style = 13; Graph1Style = 1; Graph2Style = 1; Graph3Style = 1; Graph4Style = 1; //Graph5Style = 1; //----------------------------------------------------------------------------------------------------------------- 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") ); Plot( MDI(range), "-DI", ParamColor( "-DI color", colorRed ), ParamStyle("-DI style") ); //-----------------------------------------------------------------------------------------------------------------