Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 34487
- Note:
- Publié:
- 2016.07.01 10:26
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/8661

Attempt to more or less fully automate the opening of Buy and Sell orders

Simple Expert Advisor that simultaneously opens two positions in different directions, provided that the stop loss of the losing position triggers 5 points earlier than the take profit of the profitable one.

The MACD is not required to be present on the chart. However, if a standard MACD is attached, the divergence lines will be drawn both on the chart and in the indicator window, and the indicator will use the MACD settings.

Example of plotting a function spectrum using the FFT library