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

MACD Dema Indicator for Amibroker (AFL)

Rating:
3 / 5 (Votes 2)
Tags:
oscillator, macd, amibroker

The classic MACD, rewritten using Double Exponential Moving Averages.

Similar Indicators / Formulas

Coloured MACD
Submitted by sandiip123 over 14 years ago
%MACD
Submitted by mavirk over 14 years ago
Reversing MACD
Submitted by kelvinhand over 11 years ago
Bline MACD
Submitted by thegame.t2 almost 15 years ago
MACD Bullish
Submitted by zillur over 14 years ago
MACD with Bollinger Bands
Submitted by MIKE1 over 14 years ago

Indicator / Formula

Copy & Paste Friendly
Length1 = Param("Length1",10,2,40,2);
Length2 = Param("Length2",20,1,39,2);
Length3 = Param("Length3",9,1,20,1);

// The Moving Average Convergence Divergence calculations
MACD1 = 100 * (DEMA(C,Length1)-DEMA(C,Length2))/C;
MACD2 = DEMA(MACD1,Length3);
MACD3 = MACD1-MACD2;
Plot( Close, "Price", colorBlack, styleCandle );
GraphXSpace = 5;

// Plot the MACD lines.
Plot(MACD1,"MACD1",colorGreen,styleLine|styleLeftAxisScale,-1,1);
Plot(MACD2,"MACD2",colorBlue,styleLine|styleLeftAxisScale,-1,1);
Plot(MACD3,"MACD3",colorRed,styleLine|styleLeftAxisScale,-1,1);
Plot(0,"",colorRed,styleLine|styleLeftAxisScale,-1,1);

0 comments

Leave Comment

Please login here to leave a comment.

Back