Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

SmoothStep - indicator for MetaTrader 5

Views:
4362
Rating:
(32)
Published:
2022.04.24 19:30
SmoothStep.mq5 (12.51 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

In many cases (computer graphics, machine learning, ta analysis) we need normalized values. Smooth step is one of the possible ways to do it

It belongs to the family of sigmoidal (clamping in this case, since this indicator, as is, is not used for interpolation) functions, and is producing a sub-set of what is the built in stochastic, except that I kept it in its original range of 0 to 1 and that it filters out some values that stochastic produces. Also, this indicator can use all the usual prices (not just the close/close or low/high/close)


Recommendations:
  • You can use it the same way as stochastic built in indicator


Custom Fractals Custom Fractals

Have you ever asked yourself why it is not possible to customize fractals more? ... now it is.

ZigZagExtremaOnArray ZigZagExtremaOnArray

The ZigZagExtremaOnArray is an mqh include file which contains the calculation function of MetaQuotes' Examples ZigZag, BUT you can use it on any buffer that contains curves or histograms, similarly to the MovingAverages.mqh from include. The idea was to get highs and lows of an indicator curve quickly with the help of an "onBuffer" function.

SmoothStep (generalized) SmoothStep (generalized)

SmoothStep (generalized)

MA on DeMarker Arrow MA on DeMarker Arrow

iDeMarker (DeMarker, DeM) indicator smoothed with iMA (Moving Average, MA).