Afl for zerodha adx

Hi I required a afl with buy and sell for the zerodha adx indicator…along with the smoothing period…in min chart I was watching for one year it really works with good profit and no loss…
Adx …only shading and histogram. For the period 50 and smoothing period 200…

Requesting…anybody have idea pls get me this afl …it will be very much help full …to recover my losses
9952718464 [email protected]

For the above given requirement check this Amibroker AFL code

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”) );

_SECTION_BEGIN(“Open Interest”);
Plot( OpenInt, _DEFAULT_NAME(), ParamColor(“Color”, colorCycle ), ParamStyle( “Style” ) );
_SECTION_END();

_SECTION_BEGIN(“Price”);
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat(“{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}”, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, “Close”, ParamColor(“Color”, colorDefault ), styleNoTitle | ParamStyle(“Style”) | GetPriceStyle() );
_SECTION_END();