The function returns the handle of the Stochastic Oscillator indicator.
[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] Averaging period (bars count) for the %K line calculation.
[in] Averaging period (bars count) for the %D line calculation.
[in] Slowing value.
[in] Type of averaging. Can be any of the ENUM_MA_METHOD values.
[in] Parameter of price selection for calculations. Can be one of the ENUM_STO_PRICE values.
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.
The buffer numbers: 0 - MAIN_LINE, 1 - SIGNAL_LINE.