Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
ADX 00 for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("ADX"); range = Param("ADX Periods", 7, 2, 200, 1 ); Col_adx = IIf(ADX(range) > Ref(ADX(range),-1) ,colorBlue, colorGrey40); Col_pdi = IIf(PDI(range) > MDI(range) AND ADX(range) > MDI(range),colorBrightGreen,colorGrey40); Col_Mdi = IIf(MDI(range) > PDI(range) AND ADX(range) > PDI(range),colorRed,colorGrey40); Plot( ADX(range), _DEFAULT_NAME(), Col_adx , ParamStyle("ADX style", styleThick ) ); Plot( PDI(range), "+DI", Col_pdi, ParamStyle("+DI style") ); Plot( MDI(range), "-DI", Col_mdi, ParamStyle("-DI style") ); Plot (20,"",colorGrey40); Plot (30,"",colorDarkBlue); trend = IIf(Col_adx ==colorBlue AND Col_pdi==colorBrightGreen,colorBrightGreen,IIf(Col_adx ==colorBlue AND Col_mdi==colorRed,colorRed,IIf(Col_pdi == colorBrightGreen AND Col_mdi == colorRed,colorYellow, IIf(Col_pdi==colorBrightGreen,colorDarkGreen,IIf(Col_mdi==colorRed,colorDarkRed,colorBlack))))); Plot(6, "", trend, styleOwnScale| styleArea|styleNoLabel,-0.5,100); _SECTION_END();