Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

MACD with Histogram - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

MACD with Histogram - indicator for MetaTrader 5

This indicator modifies the original MACD.mq5 found in the MetaTrader 5 Indicators/Examples folder.

It presents MACD main lines and signals in line style and includes a visual MACD histogram.

Fast EMA, slow EMA and the period of the signal as well as the applied price can be freely customized.

Input parameters:

 Input integer InpFastEMA= 12 ; // Fast EMA period
Input integer InpSlowEMA= 26 ; // Slow EMA period
Input integer InpSignalSMA= 9 ; // Signal SMA period
Enter ENUM_APPLIED_PRICE Enter application price = PRICE_CLOSE ; // Apply price 

MACD with Histogram - indicator for MetaTrader 5


Attachment download

📎 macd_histogram.mq5 (5.46 KB)

Source: MQL5 #14669

Verification code Refresh