Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
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
Vues:
5687
Note:
(24)
Publié:
2013.02.27 13:19
Mise à jour:
2016.11.22 07:32
\MQL5\Include\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The Expert Advisor to perform global Take Profit for all open positions. It closes all positions, if current positions' profit exceeds the maximum fixed level in MaxProfit input parameter of the Expert Advisor.

When the condition of exceeding the specified profit is performed on all open positions, the Expert Advisor saves the information about this fact into terminal global variable and only after that on the basis of this information exits all open positions.

Why so and not directly on the signal? The thing is that the process of closing positions requires several time and that is why it can be interrupted in real life due to any reason. In this situation the Expert Advisor closes positions in any situation by the fact of exceeding the surplus. As all positions are closed, terminal global variable will be deleted!

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

Exp_ToCloseLoss Exp_ToCloseLoss

The Expert Advisor to perform global Stop Loss on all open positions

b-clock b-clock

Show minutes and seconds left before new candle is appeared.

EMA-Crossover_Signal EMA-Crossover_Signal

The simplest semaphore signal indicator based on different period Moving Averages

FractalAMA FractalAMA

The fractal adaptive Moving Average by John Ehlers. Version 1.1 7/17/2006