OPEN-SOURCE SCRIPT

DMA: Moving Average of Oscillator

Updated
Technical Indicator Moving Average of Oscillator (Moving Average of Oscillator OsMA) is the difference between the oscillator and oscillator smoothing. In this case, an oscillator is used the basic MACD line and the smoothing of the signal.

Calculate:
OSMA = MACD - SIGNAL
MACD = EMA(CLOSE, 12) - EMA(CLOSE, 26)
SIGNAL = EMA(MACD, 9)
Release Notes
Technical Indicator Moving Average of Oscillator (Moving Average of Oscillator OsMA) is the difference between the oscillator and oscillator smoothing. In this case, an oscillator is used the basic MACD line and the smoothing of the signal.

Calculate:
OSMA = MACD - SIGNAL
MACD = EMA(CLOSE, 12) - EMA(CLOSE, 26)
SIGNAL = EMA(MACD, 9)

Close
Release Notes
Technical Indicator Moving Average of Oscillator (Moving Average of Oscillator OsMA) is the difference between the oscillator and oscillator smoothing. In this case, an oscillator is used the basic MACD line and the smoothing of the signal.

Calculate:
OSMA = MACD - SIGNAL
MACD = EMA(CLOSE, 12) - EMA(CLOSE, 26)
SIGNAL = EMA(MACD, 9)

convert to ver 5
bayturinDMAdynamicmaExponential Moving Average (EMA)Moving Average Convergence / Divergence (MACD)osma

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer