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 | DSS

Double Smoothed Stochastic is a stochastic smoothed twice.

There are five inputs:

  • Period - calculation period
  • EMA period - ЕМА ratio calculation period
  • Signal period - signal line period
  • Overbought - overbought level
  • Oversold - oversold level

Calculation:

DSS = coeff * Mit+(1.0-Coeff) * PrevDSS

Signal = EMA(DSS, Signal period)

where:

Coeff = 2.0 / (1.0+EMA period)
Mit = Delta * 100.0 / (MaxRAW-MinRAW)
Delta = RAW - Min
MaxRAW, MinRAW - maximum and minimum RAW values in the Period range
RAW = Coeff * MitHL+(1.0-Coeff) * PrevRAW
MitHL = DeltaCL * 100.0 / (MaxH-MinL)
DeltaCL = Close - MinL
MaxH, MinL - High and Low prices in the Period range

MetaTrader Experts, Indicators, Scripts and Libraries

22501