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 4 Indicator | SmoothStep (generalized)

Generalized version of the smooth step indicator (originally posted here : SmoothStep). 

This version is using a property of a smooth step that it can be further smoothed - based on Kenneth H. Perlin's (a professor in the Department of Computer Science at New York University) idea

      • when order 0 is used, it is the same as built in stochastic / 100 (with slowing in stochastic set to 1)
      • when order 1 is used, it is the same as the smooth step indicator
      • when any higher order is used, it filters further the signal while keeping the values in the expected ranges

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

Recommendations:
  • Accompany the submitted code with a meaning-bearing name and a brief description.
  • Attach a brief explanation to the code for users to make head or tail of it.
  • Insert illustrating images where applicable.
39132