Oscillating indicator MACD OsmaX is a modification of the classical MACD.
It has five adjustable parameters:
MACD = FastMA - SlowMA
Signal = AvgMACD
OsMA =(MACD - Signal) * OsmaX
FastMA - EMA(Applied price, Fast EMA period)
SlowMA - EMA(Applied price, Slow EMA period)
AvgMACD- EMA(MACD ,Signal period)
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/23536