The Trailing Stop Universal utility offers a breakeven function and 13 real or virtual trailing methods, each of which can be flexibly configured. The product is available for the MT4 and MT5 terminal.
MT4: https://www.mql5.com/en/market/product/20705
МТ5: https://www.mql5.com/en/market/product/33126
The trailing methods presented in the product can be divided into 2 categories: indicator methods and non-indicator methods.
List of indicator trailing methods:
- Alligator;
- Average True Range (ATR);
- Bollinger Bands;
- Envelopes;
- Fractals;
- Ichimoku;
- Moving Average (MA);
- Parabolic SAR;
- Zig Zag.
List of non-indicator trailing methods:
- Bar Price (Trailing at the price of Open / High / Low / Close, – of the selected bar);
- Deposit Currency (Trailing in the deposit currency);
- Fixed Distance (Classic trailing method with starting distance, trailing distance and trailing step);
- Price Channel (Trailing method for the highest High / lowest Low for the last N bars).
The Expert Advisor allows you to select real or virtual trailing.
How real trailing works – the EA sends a stop loss order to the trade server and the broker knows where the stop loss is placed and must close the trade when the price specified in the order is reached.
How virtual trailing works – the EA calculates and remembers the stop loss price at which the trade should be closed, but does not send the order to the trade server. Thus, the broker does not know where the stop loss of the position is located. When the market price reaches the calculated stop loss price, the EA sends a market order to the trade server to close the position.
In addition to the listed trailing methods, the utility offers the function of transferring positions to breakeven when a specified profit level is reached. The breakeven function can be used both separately from trailing and together with trailing. If the breakeven function is enabled and any trailing method is enabled, the trade will first be moved to breakeven and only after that the selected trailing method will continue to work.
The utility has a simple and understandable trading panel that will allow you to open deals with a given size of Take Profit, Stop Loss and Volume. The trading panel can be used in real time and in the strategy tester. Thanks to the trading panel, users will be able to fully test the demo version of the product in the strategy tester. Just enable the trailing method you are interested in, launch the tester, open trades using the panel and watch how the trailing stop works according to the selected algorithm.
The product can work both with manually placed orders and with orders from other Expert Advisors. If it is necessary to provide trailing trades of another Expert Advisor, then you need to specify its MagicNumber in the Trailing Stop Universal utility.