UTrailing - universal trailing stop. The Expert Advisor is useful for any trader, especially for those trading manually. The EA has a trailing of pending orders and six main modes for open orders: by points, bar extreme values, fractals, volumes, indicators (Parabolic SAR and Moving Average).
- Trailing stop for all orders opened in the terminal;
- trailing stop of open positions can be configured to work with selected orders: only by symbol, by magic number or by direction;
- trailing of pending orders is configured by order type, by direction, by points, fractals, extremums and does not depend on the selected direction of the positions;
- 3 levels, in %, decreasing lot volume depending on distance to the price;
- Simultaneous stop losses for all open orders;
- Closing orders by a specified profit/loss percentage;
- Common (averaged) stop for profitable and loss-making orders;
- Closing locking orders (lock) at a specified profit;
- Virtual (hidden) trailing stop.
- "Hot buttons" for fast commands (Close All, Close Loss, Close Profit, Delete PO, Delete SL);
- Audio alert on opening an order and modifying a trailing stop;
- Works with crypto currencies (#Bitcoin, etc.);
- Trading simulator for working with the EA in the tester;
- Works on accounts with 4 and 5-digit quotes.
Block 1. GENERAL SETTINGS
- Magic Number (-1 for all, 0 only manual) - magic number. Set -1 to trail all orders, set 0 to trail only orders opened manually.
- All Symbols - allow trailing stop on all symbols immediately.
- Positions - select direction.
- Trailing Stop open positions - enable trailing stop.
- Breakeven - enable the breakeven function.
- profit to enable a breakeven
- breakeven level
- Pending orders trailing - enable trailing pending orders.
- Add Stop Loss - add stop loss.
- Stop Loss - set a stop loss.
- Profit/Loss percent - close orders by profit/loss percentage.
- Profit % for close orders
- Loss % for close orders
- Slippage - Slippage order.
Block 2. TRAILING PENDING ORDERS
Block 3. TRAILING STOP POSITIONS
- Selected operating mode - select a trailing stop. There are four options:
- Normal - usual trailing stop,
- Percentage - trailing stop by %, 3 levels,
- Mobile stop loss,
- Total trailing stop - total (averaged) trailing stop.
- Virtual trailing stop - enable virtual (invisible) trailing stop.
- Timeframe for trailing stop - select a timeframe a trailing stop is to work on.
- Trailing Stop type - select a trailing stop type by:
- Moving Average
- Parabolic SAR
- Trailing stop level
- Trailing step - trailing stop step.
- Indent from High/Low and fractals.
- Level of Volumes
- _ _Moving Average:_ _
- Period - МА period.
- Shift - МА shift.
- MA method - МА averaging method.
- Applied price - applied price for МА.
- _ _Parabolic SAR:_ _
- Step - Parabolic step.
- Maximum - Parabolic high.
- 1_Reduction in the lot on - first percentage for reducing the first lot volume.
- 1_Take Profit, points - first distance after the price, upon reaching which a position is closed partially for the first time and a lot volume is decreased by a fixed percentage.
- 1_Level breakeven, points - first trailing stop level before the first partial closing.
- 2_Reduction in the lot on - second percentage for reducing a lot volume.
- 2_Take Profit, points - second distance after the price, upon reaching which a position is closed partially for the second time and a lot volume is decreased by a fixed percentage.
- 2_Level breakeven, points - second trailing stop level before the second partial closing.
- 3_Reduction in the lot on - third percentage for reducing a lot volume.
- 3_Take Profit, points - third distance after the price, upon reaching which a position is closed partially for the third time and a lot volume is decreased by a fixed percentage.
- 3_Level breakeven, points - third trailing stop level before the third partial closing.
Block 4. CLOSE OFF LOCK - close lock.
Block 5. OTHER SETTINGS
Block 6. SIMULATOR TRADE - trading simulator.
A complete guide UTrailing EA guide is available in the Discussion section.
2. Добавили команду "Close at profit" и размер профита "Profit in the deposit currency", если включить эту команду, то при появление прибыли больше "Profit in the deposit currency" советник закроет все открытые ордера и удалит все отложенные.
3. Команда включения трейлинга для открытых позиций перенесена в блок 3, в раздел "Mode selection:".
4. Команда включения трейлинга для отложенных ордеров перенесена в блок "2. TRAILING PENDING ORDERS".
5. Внесены изменения в информационные сообщения на графике.
6. Добавлены комментарии.
7. Исправлены ошибки.
- All Symbol;
- trailing pending orders;
- adding a stop loss when opening an order;
- closing orders by profit/loss percentage;
- buttons for quick commands (Close All, Close Loss, Close Profit, Close Loss, Delete PO, Delete SL);
- trailing stop by percentage, three levels of partial reduction of the position by percentage;
- sound signal;
- ability to remove the info panel from the chart;
- ability to remove buttons for quick commands from the chart;
- setting to delete graphical objects.
Added Block 5 "SIMULATOR TRADE" - you can change settings for the run in the strategy tester.
Fixed a bug in the "Total (averaged) stop".
Fixed other bugs.