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 Candles for Amibroker (AFL)

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

Draw MACD in candlestick shape. Apart from the normal signals, one can get an additional one: inside bar, which is earlier than crossovers.

Screenshots

Similar Indicators / Formulas

Coloured MACD
Submitted by sandiip123 about 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 over 14 years ago
MACD Bullish
Submitted by zillur over 14 years ago
MACD Dema Indicator
Submitted by Peixoto over 14 years ago

Indicator / Formula

Copy & Paste Friendly
// MACD Candles 

_SECTION_BEGIN( "Standard MACD" );
ShortPds = Param("Fast period", 12, 1, 50, 1 ); 
LongPds  = Param("Slow period", 26, 3, 50, 1 ); 
aperiod  = Param("Signal period", 9, 1, 30, 1 ); 

ml = MACD( ShortPds, LongPds ); 
sl = Signal(ShortPds, LongPds,aperiod); 

InsideMacd = 	(sl < Ref(sl , -1) AND
				ml  > Ref(ml, -1)) OR
				(sl > Ref(sl , -1) AND
				ml  < Ref(ml, -1)) 
				;
 
Color = IIf( InsideMacd, ParamColor("Inside bar", colorBlack), IIf(sl > ml, ParamColor("up bar", colorGreen), ParamColor("down bar", colorBlack)));
PlotOHLC(ml, sl, ml, sl, "", color, styleCandle);

_SECTION_END();

1 comments

1. arm

NICE & THANKS 4 SHARING

Leave Comment

Please login here to leave a comment.

Back