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_Osmax

Oscillating indicator MACD OsmaX is a modification of the classical MACD.

It has five adjustable parameters:

  • Fast EMA period - fast EMA calculation period
  • Slow EMA period - slow EMA calculation period
  • Signal period - signal line calculation period
  • OsmaX - OsMA factor
  • Applied price - calculation price

Calculations:

MACD   = FastMA - SlowMA
Signal = AvgMACD
OsMA   =(MACD - Signal) * OsmaX

where:

FastMA - EMA(Applied price, Fast EMA period)
SlowMA - EMA(Applied price, Slow EMA period)
AvgMACD- EMA(MACD ,Signal period)

MetaTrader Experts, Indicators, Scripts and Libraries

23536