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 ....
macd-prediction for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | // Inverse Fisher Transform Stochastic Oscillator stochper = Param ( "Stochastic Period?" , 30, 2, 100 ); slowing = Param ( "Stochastic Slowing?" , 5, 1, 10 ); mav = WMA ( C , 2 ); RBW = 5 * mav; mav = WMA ( mav, 2 ); RBW += 4 * mav; mav = WMA ( mav, 2 ); RBW += 3 * mav; mav = WMA ( mav, 2 ); RBW += 2 * mav; for ( i = 0; i < 6; i++ ) { mav = WMA ( mav, 2 ); RBW += mav; } RBW /= 20; RBWStoch = 100 * Sum ( RBW - LLV ( RBW, stochper ), slowing ) / ( Sum ( HHV ( RBW, stochper ) - LLV ( RbW, stochper ), slowing ) + 0.0001 ); x = 0.1 * ( RBWStoch - 50 ); IFTStoch = ( ( exp ( 2 * x ) - 1 ) / ( exp ( 2 * x ) + 1 ) + 1 ) * 50; Plot ( StochK (stochper, slowing), "StochK" + _PARAM_VALUES (), colorBlue ); Plot ( IFTStoch, "IFT" + _PARAM_VALUES (), colorRed ); Buy = IFTStoch > 30; Sell = IFTStoch < 60; Short = IFTStoch < 60 AND Close < MA ( Close , 165 ); Cover = IFTStoch > 30; |