• Overview
  • Reviews (3)
  • Comments (13)
  • What's new

Shepherd Safety EA

The work of the utility is directed at opening new market orders, maintaining them, transferring the unprofitable orders into profit using an internal loss handling algorithm, trend filtering and various types of trailing stop and take profit. Suitable for any instruments and timeframes. The algorithm works separately for buys and sells, which allows simultaneously working in both directions as well. For the event when the additional orders opened by the utility do not become profitable, a StopOut (closing all trades by loss) is provided. It can be used as a supplement to trading strategies, and also as a full-fledged separate trading system.

You can check the utility in your terminal's strategy tester in the Visualization mode.


Information fields

  • Deposit load - shows the deposit load percentage.
  • StopLevel - Stop Level of the selected instrument in points.
  • Drawdown/Grown - Drawdown/Growth of the trade balance as a percentage.
  • Spread Value - Spread in points.
  • In Deals - Volume of open trades in lots.


Buttons

  • Close Buy - close all opened buy positions and buy pending orders on the selected instrument, if the Magic Number of the order matches, and displays the profit/loss of the opened buy orders in the deposit currency.
  • Close Sell - close all opened sell positions and sell pending orders on the selected instrument, if the Magic Number of the order matches, and displays the profit/loss of the opened sell orders in the deposit currency.
  • Close All - close all opened positions and pending orders on the selected instrument, if the Magic Number of the order matches, and displays the profit/loss of the opened orders in the deposit currency.
  • Open Buy - send a Buy order and display the volume in lots for the next Buy order in the queue.
  • Open Sell - send a Sell order and display the volume in lots for the next Sell order in the queue.


Input parameters

  • Lots - volume of the first trade in the group of orders, in lots.
  • Magic - magic number.
  • Slippage - allowable slippage in points.
  • MaximumLotsValue - the maximum allowed volume of one order in lots.
  • MaximumSpread - maximum allowable spread for opening orders.
  • MaximumOrdersInWork - the maximum allowed number of orders.
  • Order_Comment - comments to orders.
  • Long_Trades - allow buy trades.
  • Short_Trades - allow sell trades.
  • Auto_SL_TP - allow setting TP and SL for the utility's order automatically.
  • Overlap_LH - allow using additional trailing in money for the uppermost and lowermost orders of the group (separately for Buy and for Sell).
  • Trend_Filter_Grids - filter type for order grids.
  • Multiplier_Type - multiplier type for order grids.
  • Step - step for the order grid in points.
  • Multiplier - lot multiplier in the Multiplier_lots mode.
  • Add_Lots - lot increase in the Add_to_lots mode.
  • TakeProfit_Type - type of take profit or trailing.
  • TakeProfit_money - take profit value in money.
  • TakeProfit_points - take profit value in points.
  • TrailingStep_money - step of the virtual trailing in the deposit currency.
  • TrailingStart_money - start of the virtual trailing in the deposit currency.
  • TrailingStep_points - trailing step in points.
  • TrailingStart_points - trailing start in points.
  • StopLoss_Type - type of stop loss.
  • StopLoss_money - stop loss value in money.
  • StopLoss_Points - stop loss value in points.
  • StopOutValue - amount of loss in the deposit currency, at which all market orders are closed.
Peter
813
Peter 2018.05.05 19:38 
 

Excellent EA to help with my manual strategy. Thanks Alexander!

Raja
247
Raja 2017.10.25 07:34 
 

Very Good EA for recovery .... Apply this EA on loosing trade and forget everything...It will convert the losing trade in to break-even.. Deserve 5 Stars. But remember as this is based on grid , so must be careful for the multiplier and accordingly must have that much fund Otherwise in no time you will be out from market with very heavy losses..

Vratislav Tukal
4284
Vratislav Tukal 2017.10.16 21:14 
 

very good utility...thank you very much...

Version 2.0 2018.08.16
Проведена оптимизация кода панели утилиты. Теперь программа потребляет меньше ресурсов компьютера.
Version 1.30 2018.04.02
- Changed the design of the utility panel;
- Added a group of checkboxes:
1) Auto SL TP - automatic setting of StopLoss and TakeProfit;
2) Long Trades - allow opening Buy orders;
3) Short Trades - allow opening Sell orders;
4) Overlap LH - allow using additional trailing in money for the uppermost and lowermost orders of the group (separately for Buy and for Sell).
- Added new buttons for closing orders:
1) Low/High - cover the lower order with the upper one (separately for Buy and for Sell);
2) Lowest - close the lowermost Buy order;
3) Highest - close the uppermost Sell order.
Version 1.20 2018.01.12
- Added the limit on the maximum spread for opening orders.
- Added selection of the comment for the EA orders.
- Added three types of order multiplication (multiplication by coefficient, increase by a fixed value, fixed lot size)
- Added trailing in points, take profit and in points and in money.
- Added stop loss in points and in money.
- Added a trend filter for the increased orders.