Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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
Experts

Dynamic averaging - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
4641
Note:
(17)
Publié:
2019.01.02 14:26
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Idea by - bird0

mq5 code author - barabashkakvn

The Expert Advisor uses the iStdDev indicator values from the sliding window over the "Sliding window size" days and calculates the average indicator value in this window. If the current iStdDev value is greater than the calculated average, it is a signal to prohibit trading.

If there is no prohibition, check the Stochastic indicator:

   if(stochastic[0]<25.0 && stochastic[1]-stochastic[2]>0.0)
      m_need_open_buy=true;
   if(stochastic[0]>75.0 && stochastic[1]-stochastic[2]<0.0)
      m_need_open_sell=true;

At the same time, the EA keeps track of the deals that were closed at a loss: as soon as such a losing trade is found, the EA increases the lot size for the next deal.


Positions are closed once the total profit becomes equal to or more than 'Minimum profit'.


ATTENTION: This is a high-risk strategy! After a seeming profit

Dynamic averaging

you can easily lose the entire deposit!

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/23319

3TF_RSI_Average 3TF_RSI_Average

Three timeframes RSI Average

3TF_Stochastic_Average 3TF_Stochastic_Average

The Three timeframes Stochastic Average indicator

ColorRSI_X20_Cloud_HTF ColorRSI_X20_Cloud_HTF

The ColorRSI_X20_Cloud indicator with the possibility to change the indicator timeframe using input parameters

ColorMFI_X20_Cloud_HTF ColorMFI_X20_Cloud_HTF

The ColorMFI_X20_Cloud indicator with the possibility to change the indicator timeframe using input parameters