Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | MACD Candles

It does not have signal line and it does not have the price. Instead it is calculating 4 MACD-values (of open, close, high and low) and constructs MACD from those 4 values as a candles. Color of the candles (and the "trend" that macd should show) depends on the macd of open and close (not on a slope or something similar).
A deviation was made in the calculation: I decided to allow the 4 types of averages to be used (even though by definition of Gerald Appel the macd is calculated as ema(fast)-ema(slow)). So we can have a macd of sma, smma  and lwma too — all using same calculating periods.


MetaTrader Experts, Indicators, Scripts and Libraries


16484

Best MetaTrader Indicators + Profitable Expert Advisors