The function returns the handle of the Moving Average of Oscillator indicator. The OsMA oscillator shows the difference between values of MACD and its signal line. It has only one buffer.
[in] The symbol name of the security, the data of which should be used to calculate the indicator. The NULL value means the current symbol.
[in] The value of the period can be one of the ENUM_TIMEFRAMES values, 0 means the current timeframe.
[in] Period for Fast Moving Average calculation.
[in] Period for Slow Moving Average calculation.
[in] Averaging period for signal line calculation.
[in] The price used. Can be any of the price constants ENUM_APPLIED_PRICE or a handle of another indicator.
Returns the handle of a specified technical indicator, in case of failure returns INVALID_HANDLE. The computer memory can be freed from an indicator that is no more utilized, using the IndicatorRelease() function, to which the indicator handle is passed.
In some systems this oscillator is also known as MACD histogram.