Virtual trailing stop for tracking trades. It can work both with manually opened orders and by a magic number (orders opened by any other EA). If you want to test the EA in the strategy tester, enable the visual mode. There will be Buy and Sell buttons on the chart. You can open trades clicking these buttons. Buttons are displayed only in the strategy tester.
- TrailingStop – number of points to start trailing stop;
- TrailingStep – trailing stop step;
- Visualization – visualization of the virtual stop level;
- Color – color of the virtual stop level;
- Magic – magic number, if = 0, it will be applied to all orders.