Trailing stop for advisors
- Utilitaires
- Alexander Nikolaev
- Version: 1.0
The utility manages other EAs' orders as well as the ones opened manually. It is capable of trailing the price (trailing stop function), set a stop loss and take profit if they have not been set before. When configuring the utility for an EA having no trailing stop function, place it to the new window with the same currency pair specifying the same Magic value (as for the EA orders the stop loss is to be applied to). You can set any timeframe. It does not affect the utility operation. Set Magic to zero to manage manually set orders.
Inputs
- Magic - identifier of the EA orders to be managed
- StopLoss - stop loss (in points, 0 - not set);
- TakeProfit - take profit (in points, 0 - not set);
- TrailingStopValue - trailing stop value in points (distance from the current price of the currency pair). 0 - not used;
- TrailingAfterBreakeven - set a trailing stop only after it is in a breakeven.
simply perfect and easy to use