Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

SmoothStep - indicateur pour MetaTrader 4

Vues:
6689
Note:
(27)
Publié:
2022.04.25 14:25
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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


Detecting the start of a new bar or candle Detecting the start of a new bar or candle

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

Listing all MT4 Signals' properties to a CSV file Listing all MT4 Signals' properties to a CSV file

This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL4 Trade Signals functionality.

SmoothStep (generalized) SmoothStep (generalized)

SmoothStep (generalized) - metatrader 4 version

Trade Classes from MT5 for MT4 Trade Classes from MT5 for MT4

Trade classes CTrade, CPositionInfo, COrderInfo, CSymbolInfo from MT5 rewritten for MT4