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

e-News-Lucky - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
3575
Note:
(12)
Publié:
2018.06.16 10:35
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Idea by: Scriptor.

MQL5 code by: Vladimir Karputov.

Working with pending Buy Stop and Sell Stop orders. Pending orders are placed and removed at a specified time (Time of order placement and Time of order removal, respectively), the time being considered as hours and minutes only in the parameters. As soon as any of the pending orders triggers (the triggering moment is monitored in OnTradeTransaction), the remaining pending order will be removed.


Inputs

  • Lots - the volume of the pending order to be placed;
  • Stop Loss (in pips) - Stop Loss;
  • Take Profit (in pips) - Take Profit;
  • Trailing Stop (in pips) - trailing;
  • Trailing Step (in pips) - trailing step;
  • Time of order placement (use only hh:mm !!!) - time, at which pending orders must be placed;
  • Time of order removal (use only hh:mm !!!) - time, at which the pending orders must be removed (positions are closed at the same time);
  • Distance from market - distance from the current prices, at which pending orders are placed;
  • magic number - unique identifier for the EA.

Test example on GBPUSD,H1

e-News-Lucky GBPUSD H1

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

e_Breakeven_v4 e_Breakeven_v4

An assistant Expert Advisor. It moves positions to a breakeven and then enables trailing.

TwoBarsComparison TwoBarsComparison

The EA compares the opening prices of the zeroth and the second bar. It moves positions to a breakeven and/or enables trailing.

SSL2 SSL2

Two different-period indicators SSL, implemented as a colored cloud.

SSL2_HTF SSL2_HTF

Indicator SSL2 with the timeframe selection option available in input parameters.