This expert Advisor is designed for automatic motion of StopLoss levels in an adjustable distance from the market price.
The Expert Advisor operates on any money pair.
If the trade is conducted on several currency pairs at precisely the same period the Advisor works with currency pairs.
1. If the open sequence does not have the StopLoss degree set.
The Expert Advisor sets the StopLoss level to breakeven if the order’ profit (in points) is equal to or exceeds the TrallingStop value (Inputs parameters). when the Profit order is further increased, the EA moves the StopLoss level at the distance of the TrallingStop value (Inputs parameters).
2. If an open order has the StopLoss level set.
The Expert Advisor waits for the order’s Profit (in points) to be equal to or greater than the TrallingStop value (Inputs parameters), and then moves the StopLoss level to breakeven. When the Profit order is further increased, the EA moves the StopLoss level at the distance of the TrallingStop value (Inputs parameters).
This procedure is performed by the Expert Advisor in turn with all open orders on the trading account.
When setting the TrallingStop value (Inputs parameters), specify the minimum distance of the StopLoss level from the market price of the required currency pair.
[spoiler title=”Read More…”]
Minimum recommended TrallingStop values:
- 4 characters – at least 2-5;
- 5 characters – at least 20-50.
Otherwise, the StopLoss value will be too close to the market price!
[/spoiler]