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 Cross Over Band for Amibroker (AFL)

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

Blue for MACD Golden Cross (Bullish)
Red for MACD Dead Cross (Bearish)

For Additional Confirmation

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Bull/Bear Band");

// BAND
FastPeriods = Param("MACD Fast Periods", 12, 2, 100);
SlowPeriods = Param("MACD Slow Periods", 26, 2, 100);
SignalPeriods = Param("MACD Signal Periods", 9, 2, 100);
  
// MACD Golden and Dead cross 
DownTrend = Cross(MACD(FastPeriods, SlowPeriods), Signal(FastPeriods, SlowPeriods, SignalPeriods));
UpTrend = Cross(Signal(FastPeriods, SlowPeriods, SignalPeriods),MACD(FastPeriods, SlowPeriods));

Plot( Flip( UpTrend, DownTrend ), "UpTrend", colorRed, styleOwnScale| styleArea| styleNoLabel,-0.5,100);
Plot( Flip( DownTrend, UpTrend), "DownTrend", colorBlue, styleOwnScale| styleArea| styleNoLabel,-0.5,100);

_SECTION_END();

1 comments

1. Shreeselva

Good and thanks, is it possible to plot hourly / daily (which can be chosen from parameters) macd crosover … plot in lower time frames, ?
if possible can u pls mail to kselvakumaran@gmail.com

Leave Comment

Please login here to leave a comment.

Back