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 ....
Normalized diffrence for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("normalized_diff"); ticker = ParamStr("Pair ticker", "?"); tsc = Foreign( ticker, "C"); ticker2 = C; d = abs(C / tsc); p = Param("Period",10); nd = (d - MA(d,p)) / MA(d,p); Plot(nd,"normalized difference",colorRed,styleLine); Plot(0,"",colorBlue,styleLine|styleNoLabel); _SECTION_END();