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 ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Dinapoli MACD (DEMA) for Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:

Undermentioned is the most advanced and trusted Dinapoli MACD (DEMA), I have tested it in many time frame it practically leads the trend.

Screenshots

Indicator / Formula

Copy & Paste Friendly
//---- Smoothing Factors
FastSF=8.3896;
SlowSF=17.5185;
SignalSF=9.0503;

M_A_C_D=0;
S_i_g_n_a_l=0;

FastEMA[0]=SlowEMA[0]=Close[0];

for( i=1; i<BarCount; i++)
{
      FastEMA[i]=FastEMA[i-1]+2.0/(1.0+FastSF)*(Close[i]-FastEMA[i-1]);
      SlowEMA[i]=SlowEMA[i-1]+2.0/(1.0+SlowSF)*(Close[i]-SlowEMA[i-1]);
      M_A_C_D[i]=FastEMA[i]-SlowEMA[i];
}

for( i=1; i<BarCount; i++)
     
S_i_g_n_a_l[i]=S_i_g_n_a_l[i-1]+2.0/(1.0+SignalSF)*(M_A_C_D[i]-S_i_g_n_a_l[i-1]);

for (i=0; i<17; i++) M_A_C_D[i]=Null;
for (i=0; i<26; i++) S_i_g_n_a_l[i]=Null;


Plot( M_A_C_D, "MACD", ParamColor("MACD color", colorBlue ), ParamStyle("MACD
style") );
Plot( S_i_g_n_a_l, "Signal", ParamColor("Signal color", colorRed ),
ParamStyle("Signal style") );
Plot(0, "", colorBlack);

0 comments

Leave Comment

Please login here to leave a comment.

Back