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 ....
detrended price indicator by HB for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("TS Howard DetrendedPrice"); // DetrendedPrice.afl // LookBack = 20; dd = ( C - EMA( C, LookBack ) ) / EMA( C, LookBack ); ee = EMA( dd, 3 ); ff = EMA( ee, 5 ); Plot( C, "C", colorBlack, styleCandle ); Plot( dd, "DeTrended", colorRed, styleLine | styleOwnScale ); //Plot( ee, "DT Sm", colorBlue, styleLine | styleOwnScale ); Plot( ff, "DT Db Sm", colorGreen, styleLine | styleOwnScale ); _SECTION_END();