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

Zero Lag MACD for Amibroker (AFL)
kaiji
almost 15 years ago
Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
macd, amibroker, histogram

Here is a Zero Lag MACD. You can use the parameter capability to tweak the periods. In comparison to Amibroker’s built in MACD, Zero Lag MACD signals show up a few days earlier, and divergences are quite pronounced.

Similar Indicators / Formulas

Color MACD
Submitted by jnwr25 over 14 years ago
Color MACD Histogram Changes
Submitted by kaiji almost 15 years ago
MACD colored
Submitted by sweetncu over 14 years ago
Sum of Risks
Submitted by brevco over 14 years ago
Coloured MACD
Submitted by sandiip123 about 14 years ago
Reversing MACD
Submitted by kelvinhand over 11 years ago

Indicator / Formula

Copy & Paste Friendly
p = Param("P",12,3,40,2);
q = Param("Q",26,3,60,2);
r = Param("R",9,3,15,1);

function zeroLagEMA(array, p)
{
	ema1= EMA(array,p);
	ema2= EMA(ema1,p);
	diff = ema1 - ema2;
	return ema1 + diff;
}

zeroLagMACD = zeroLagEMA(C, p) - zeroLagEMA(C, q);
Plot(zeroLagMACD, _DEFAULT_NAME(), colorRed);
Plot(zeroLagEMA(zeroLagMACD, r), _DEFAULT_NAME(), colorBlue);

0 comments

Leave Comment

Please login here to leave a comment.

Back