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

Open Two Pending Orders - expert pour MetaTrader 4

Vues:
46068
Note:
(47)
Publié:
2017.09.06 11:51
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The Expert Advisor is intended for automatic placing of Buy Stop pending orders and Sell Stop pending orders simultaneously, Stop Losses and Take Profits on the user specified levels. As soon as the long position (BUY) is opened as ASK price crosses the levels, the remaining pending order (SELLSTOP) is deleted. Vice versa if the short position (SELL) is opened as BID price crosses the levels, the remaining pending order (BUYSTOP) is deleted. It places again both pending orders after the opened order has been closed. Thus spread widening is not dangerous. Nevertheless, you need to have this EA to prevent unwanted hitting of the Stop Loss levels.


Main Purposes

  1. Automation of the process of placing the Buy Stop pending orders and Sell Stop pending orders simultaneously, Stop Losses and Take Profits on user-specified levels in case a brokerage company prohibits placing such orders closer than 'n' points from the current price.
  2. Avoiding unwanted triggering of Stop Loss without further confirmation with the close price.
  3. Setting Take Profit levels.
  4. Setting Trailing Stop levels.


EA Settings

  • DynamicLotSize - Choose to use money management system to calculate lot size based on Equity (true by default).
  • EquityPercent - Risk percentage of equity (2 by default).
  • FixLotSize - lot size to use if DyanamicLotSize is false (0.1 by default).
  • StopLoss - Stop Loss level in point of the price chart (100 by default).
  • TakeProfit - Take Profit level in point of the price chart (300 by default).
  • TrailingStop - Trailing Stop level in point of the price chart (100 by default).
  • PipsAway - trigger level for the "waiting" pending orders in point of the price chart (50 by default).
  • Slippage - Slippage value.
  • Magic - Magic number.

The specified level for entering a position, the Stop Loss and Take Profit levels are marked with lines of different colors on the chart.

Place Two Pending Orders

Input Variables

Chaos Trader Lite Chaos Trader Lite

Use Chaos Theory to trade!

Simple Single Layer Perceptron EA Simple Single Layer Perceptron EA

The EA using single layer Perceptron.

II (Outbreak) EA II (Outbreak) EA

Expert Advisor for pyramiding into big and fast market movements.

Multicurrency hedge example EA (overlay hedge) Multicurrency hedge example EA (overlay hedge)

The example of multicurrency hedging implementation on a single chart in Metatrader 4.