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
Experts

EA Stop Order - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
7757
Note:
(22)
Publié:
2018.06.06 12:48
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Author of the idea: Vladimir Khlystov, MQL5 code author: barabashkakvn.

The Expert Advisor places a grid of pending Buy Stop and Sell Stop orders. When the profit reaches or exceeds Profit purpose, all positions are closed and all pending orders are deleted. After that the cycle is repeated anew.


Input Values

  • Profit purpose (in money) - profit target in money;
  • Use Buy stop - enable/disable Buy Stop orders;
  • Use Sell stop - enable/disable Sell Stop orders;
  • Maximum pending orders - the maximum number of orders of each type;
  • StopLoss ("0" -> off);
  • TakeProfit ("0" -> off);
  • Distance from current price - distance from the current price;
  • Lots - the lot size of the first order;
  • Lot Ratio - lot increase ratio; if you do not want to increase lot, set the parameter to 1.0;
  • magic number - unique identifier for the EA.

Example of testing in the "Every tick based on real ticks" mode on EURUSD:

EA Stop Order

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

Highest Lowest Highest Lowest

The Highest Lowest indicator searches for bars having High above the High of bars on the left and on the right, as well as bars having Low below the Low of bars on the left and on the right. Uses the DRAW_ARROW style.

JP Oscillator JP Oscillator

A trend oscillator.

HLBands HLBands

An indicator of daily levels.

APR APR

Average Period Range - an indicator of the average daily range.