Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
This is an Expert Advisor which performs the closing of Orders by using defined Orders Closing Conditions, Breakeven, Stop Loss and Take Profit. The Expert Advisor closes active Orders of the Currency Pair associated with the Chart the Expert Advisor is set on. E.g. EA set on EURUSD chart will close EURUSD active Orders, EA set on GBPJPY chart will close GBPJPY active Orders, EA set on EURAUD chart will close EURAUD active Orders, and so on…
Orders will be placed manually. Expert Advisor will be set on the chart at any time after the Order has been placed.
During the active Order, the Expert Advisor can be relaunched on the chart at any time with updated or changed operational parameters’ settings, which will then overrides and replace any setup of the previous or existing Take Profit, Stop Loss Breakeven and Orders Closing Conditions of the active Order of the pair which the EA is set on the chart.
1.1 The Expert Advisor has four Orders Closing Conditions and they are described as follows:
1.1.1 Orders Closing Condition 1:
(i) BUY Orders: Trail High Price by Pips-E Stop Loss, when High Price minus Open Price is less than Profit to Breakeven Value
(ii) SELL Orders: Trail Low Price by Pips-E Stop Loss, when Open Price minus Low Price is less than Profit to Breakeven Value
1.1.2 Orders Closing Condition 2:
(i) BUY Orders: Trail High Price by Pips-F Stop Loss, when High Price minus Open Price is greater than Profit to Breakeven Value
(ii) SELL Orders: Trail Low Price by Pips-F Stop Loss, when Open Price minus Low Price is greater than Profit to Breakeven Value
1.1.3 Orders Closing Condition 3:
(i) BUY Orders: Set Stop Loss at Standard Stop Loss when High Price minus Open Price is less than Profit to Breakeven Value
(ii) SELL Orders: Set Stop Loss at Standard Stop Loss when Open Price minus Low Price is less than Profit to Breakeven Value
1.1.4 Orders Closing Condition 4:
(i) BUY Orders: Set Stop Loss at Breakeven Profit to Lock when High Price minus Open Price is greater than Profit to Breakeven Value
(ii) SELL Orders: Set Stop Loss at Breakeven Profit to Lock the when Open Price minus Low Price is greater than Profit to Breakeven Value
*** High Price Means: Highest Price since Order Placement; and Low Price Means: Lowest Price since Order Placement
*** Take Profit, Standard Stop Loss and Breakeven function independently from the above Orders Closing Conditions operations
1.2 The Expert Advisor draws a White Doted Four Horizontal Lines at four different Specified levels:
1.2.1 BUY Orders
- Line 1 @ Open Price + A Pips
- Line 2 @ Open Price + B Pips
- Line 3 @ Open Price + C Pips
- Line 4 @ Open Price + D Pips
1.2.2 SELL Orders
- Line 1 @ Open Price - A Pips
- Line 2 @ Open Price - B Pips
- Line 3 @ Open Price - C Pips
- Line 4 @ Open Price - D Pips