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 ....
Dinapoli Stochastics for Amibroker (AFL)
Rating:
5 / 5 (Votes 1)
Tags:
This is the Dinapoli Stochastics indicator.
Screenshots
Indicator / Formula
Copy & Paste Friendly
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 | //-------------------------------------------------------------------------------- // // Dinapoli Stochastic // //-------------------------------------------------------------------------------- // Begin of AFL Code //-------------------------------------------------------------------------------- Periods = Param ( "Periods" , 8, 5, 55, 1 ); KSmoothing = Param ( "%K Smoothing" , 3, 1, 55, 1 ); DSmoothing = Param ( "%D Smoothing" , 3, 1, 55, 1 ); //-------------------------------------------------------------------------------- KLine = ( Sum ( ( Close - LLV ( Close , Periods ) ), KSmoothing ) / Sum ( ( HHV ( Close , Periods ) - LLV ( Close , Periods ) ), KSmoothing ) ) * 100; KLine = MA ( KLine, KSmoothing ); DLine = MA ( KLine, DSmoothing ); //-------------------------------------------------------------------------------- // Plot Graph //-------------------------------------------------------------------------------- GraphXSpace = 2; Title = Name () + " - Stochastic " + WriteVal ( Periods, 1.0 ) + "," + WriteVal ( KSmoothing , 1.0 ) + "," + WriteVal ( DSmoothing , 1.0 ); Plot ( KLine, "%K" , colorRed , styleLine ); Plot ( DLine, "%D" , colorBlue , styleLine ); Plot (20, "" , 12); Plot (80, "" , colorDarkGreen ); //-------------------------------------------------------------------------------- // End of AFL Code //-------------------------------------------------------------------------------- |
0 comments
Leave Comment
Please login here to leave a comment.
Back