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 ....
VDV_Ultimate for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | BP = C - Min ( L , Ref ( C , -1)); TR = Max ( H , Ref ( C , -1)) - Min ( L , Ref ( C , -1)); P1 = 7; // начальный параметр окна осреднения P2 = P1 * 2; P3 = P2 * 2; AvP1 = (P1 - HMA(BP,P1)) / (P1 - HMA(TR,P1)); /// по классике должно быть обычное усреднение (MA()) AvP2 = (P2 - HMA(BP,P2)) / (P2 - HMA(TR,P2)); AvP3 = (P3 - HMA(BP,P3)) / (P3 - HMA(TR,P3)); UO = 100 *((4 * AvP1) + (2 * AvP2) + AvP3)/ ( 4 + 2 + 1); Plot (UO, "VDV_Ultimate" , colorRed , styleLine ); |