//+------------------------------------------------------------------+
//|                                  MACD_Custom_Histogram_MT5.mq5  |
//|                    Copyright 2026, TraderSentiments Quant Team   |
//|                                    https://tradersentiments.com  |
//+------------------------------------------------------------------+
#property copyright "Copyright 2026, TraderSentiments"
#property link      "https://tradersentiments.com/indicators/mt5/oscillators/macd-histogram-indicator"
#property version   "2.00"
#property indicator_separate_window

input int      InpFastEMA          = 12;         // Fast EMA Period
input int      InpSlowEMA          = 26;         // Slow EMA Period
input int      InpSignalSMA        = 9;          // Signal SMA Period
input bool     InpPushAlerts       = true;       // Mobile Push Alerts

int OnInit()
  {
   IndicatorSetString(INDICATOR_SHORTNAME, "MACD Custom Histogram MT5");
   return(INIT_SUCCEEDED);
  }

int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
   return(rates_total);
  }
