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:
6042
Note:
(27)
Publié:
2018.01.10 11:45
Mise à jour:
2018.01.15 18:41
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

eaBreakeven is an EA that moves the Stop Loss to breakeven and simultaneously plays the sound, when the Stop Loss is changed. EA manages the positions for the current chart currency pair only, i.e. if you attach in on the GBPUSD chart, it will manage only GBPUSD positions.


Input parameters

  • Breakeven in points - profit of the position, when this expert moves the Stop Loss to breakeven.
  • Breakeven distance in points - the distance value where the Stop Loss is set. For example, if the opening price of a short position is 1.9873, and this parameter is set to 5 points, then eaBreakeven will change the Stop Loss to 1.9868.
  • Magic Number - managed orders ID. If 0 then EA will manage all the positions for the current symbol.
  • Enable / disable playing sound - enable/disable audio playback when a break-even occurs.
  • Sound file name - the name of the sound file in the \Sounds folder.
CDouble & CDoubleVector CDouble & CDoubleVector

A library for common rounding methods used in MQL development, primitive wrapper class for type (double), and vector for CDouble objects. MQL5 and MQL4 compatible!

Renko 2.0 Renko 2.0

A complete Renko chart indicator with wicks. Configure using Tick Size, Pip Size, Points or R. Now with Asymetric Reversals!

An abstract trading robot, an OOP pattern An abstract trading robot, an OOP pattern

An example of a template for developing automated trading systems.

MACD Crossing the zero level MACD Crossing the zero level

Displays areas, in which the MACD indicator crosses the zero line.