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

ATR adaptive SMA - indicateur pour MetaTrader 5

Vues:
17040
Note:
(32)
Publié:
2020.08.30 20:29
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Basics :

One of the moving averages that is not often made adaptive is SMA (Simple Moving Average). The reason for that is that it is bound to bars values (unlike, for example EMA - that is used in numerous adaptive averages - that can use fractional periods too) and that makes the calculations a bit complicated and, in some cases the results are going to be "nervous" - they tend to changes slope in some periods very quickly.

That makes it a bit difficult to use it too : using the slope of such an average as a criteria for a trading decision would lead to "change of mind" on almost every bar - and that is not what anybody would like to do. This version makes a possible solution for that : since adaptive SMA is "faster" than the "regular" SMA, you can use the crosses of adaptive to regular SMA as a criteria for trend. Results seem to be acceptable 

Recommendations:
  • The indicator allows you to use :
    • classical slope change for color change
    • cross of tho SMAs (the adaptive and the "regular") as a criteria for color change - as described above 
  • You can use color change of the adaptive SMA as a signal for trend change



Easy Neural Network Easy Neural Network

A native implementation of neural networks in pure MQL, bundled with an easy to use interface, with easy support of saving and loading of the network configurations after training.

Bridge - structural design pattern Bridge - structural design pattern

Decouple an abstraction from its implementation so that the two can vary independently

ATR Stop Loss ATR Stop Loss

ATR Stop Loss indicator

Composite - structural design pattern Composite - structural design pattern

Create an object tree which represents part-whole hierarchies, so that the client would treat objects and compositions of objects uniformly.