SafetyLOCK PRO Protect your positions by locking using the opening of opposite pending orders (HEDGE)

SafetyLOCK PRO Protect your positions by locking using the opening of opposite pending orders (HEDGE)

The X and The xCustomEA: Testing and Optimization
Exp – Tick Hamster Automatic trading robot. Nothing extra!
The X and The xCustomEA: Testing and Optimization
Exp – Tick Hamster Automatic trading robot. Nothing extra!

  • Main
  • Documentation
  • Settings
  • FAQ
  • Changelog
  • Reviews
  • Comments
  • Extra

About SafetyLOCK

SAFETYLOCK allows traders to avoid strong market reversals by setting an opposite order for an already opened position.

SafetyLOCK PRO Protect your positions by locking using the opening of opposite pending orders (HEDGE)

If a trader or an EA opens a position (Deal), SAFETYLOCK opens an opposite pending order(Buy Stop or Sell Stop) for it.

If the position becomes loss-making, the pending order is activated, creating a LOCK.

The EA allows you to close the initial(source) position, work with a trailing stop, or multiply the lot.

You can also modify the pending order Open price following the position price.

How does it work?

SafetyLock Protect your Deals

SafetyLock Step 1

SafetyLock Step 1

SafetyLock Step 2

SafetyLock Step 2

SafetyLock Step 3

SafetyLock Gif

What do people write about SafetyLOCK?

  • Vasil lupanov 2020.10.13 18:23
    You are great and great !!!!
    Vasil lupanov
    ⭐⭐⭐⭐⭐
  • Andreas Franz 2020.04.10 06:11
    brilliant
    Andreas Franz
    ⭐⭐⭐⭐⭐
  • Mahen Weerakkody 2019.04.23 12:25
    Excellent product
    Mahen Weerakkody
    ⭐⭐⭐⭐⭐
  • eriva 2019.01.13 11:08
    I use many products from Vladislav, the utilities are exceptional even if they require a bit of patience to find the right settings based on their use. Each reviewed utility is used in my real account. Vladislav is a kind and helpful person for any help required. Great Vladislav !!
    eriva
    ⭐⭐⭐⭐⭐
  • nakayui818 2019.01.03 16:49
    very good !it will save your account from bankrubt
    nakayui818
    ⭐⭐⭐⭐⭐
  • Cyranc 2018.06.04 19:01
    This EA is excellent, it can really save and protect the trade. Author is very helpful after a few months of trial, Safety Lock can really help to protect the positions However, sometimes the recovery zone will have problem in range market. may I request a parameter that can control the Max Hedge Cycle? Safety Lock is great, but sometimes the swing market will cause unlimited hedging orders and big max drawdown. I hope the hedging order number is under control. For example, if I set Max 3 Hedge orders, the original position is buy, then there will be max sell, buy, sell, no more. After that, Safety Lock will disable the pending order function. Is it possible to add this in next update? Safety Lock will become perfect if this para is included. Thanks in advance.
    Cyranc
    ⭐⭐⭐⭐⭐
  • Fabio 2017.12.18 21:16
    Very good EA and developer is very supportive of his client base. Highly recommended.
    Fabio
    ⭐⭐⭐⭐⭐
  • Sundaravadiveal TV 2017.01.28 02:39
    Good EA when compared to other costly EA.
    Sundaravadiveal TV
    ⭐⭐⭐⭐⭐
  • burak Güçükdere 2016.01.11 19:22
    Thrust me nothing can protect you better than this product. Every traders must have protection like this manuel or Auto not important everybody or every EA can make wrong chose. And youre Wrong chose protection is waiting 🙂
    burak Güçükdere
    ⭐⭐⭐⭐⭐
  • sidneif 2021.02.04 14:43
    Excellent EA! It has functions for different types of strategy and works very well. Developer is very attentive and provides the necessary support. Congratulations!
    sidneif
    ⭐⭐⭐⭐⭐
  • drnsf 2019.03.02 10:15
    The same good words for an excellent developer!
    drnsf
    ⭐⭐⭐⭐⭐

You can Download free SafetyLOCK or Buy full

Get started for FREE!

You can download and install our program for free!

And you can test it on your DEMO account without time limits
You can also test our program for free on a REAL account using the USDJPY symbol!

You can Buy full version of SafetyLOCK

$30/ 3 months

Rent for 3 months

For MetaTrader 4
  • MetaTrader 4
  • 3 months
  • Unlimited accounts
  • 10 computers!
  • FULL functions
  • Technical Support

SafetyLock PRO guardian advisor or locker advisor!

Useful links


Download MetaTrader

How to buy How to install Strategy Tester VPS MetaQuotes MT4 Log Files MT5 Log Files

Description

The greatest fortification of the fortress is its defenders ….” 
Silovan Ramishvili

How often did you have to suffer losses because you did not look at the monitor at the time?

How often do you refuse more important things than look at the quotes charts?

Probably every 2nd reader has been in a situation where waiting for the continuation of the trend is removed StopLoss in the hope that this position will bring you more profit than you’ve expected.

From this, I wanted to start my article.

The market is very unpredictable, and hoping for some strategy or adviser is quite dangerous.

There are so many kinds of advisers on the Internet whose authors assure you that the working strategy and this adviser will bring you profit.

Quite often, such Expert Advisor (EA) sooner or later make mistakes in their calculations, and you risk losing your money.

Working with positions, some traders ensure their positions with the help of lock (HEDGE) orders, oppositely directed positions.

But often, Lock is not an option but a temporary satisfaction of one’s desires.

Main functions

Expert Advisor (EA) Exp – SafetyLock PRO   was written to protect such systems from misses not by blocking positions but by installing oppositely directed pending orders.

It helps traders avoid a sharp market turn by placing an opposite pending order for an already open position(Deal).

If a trader or Expert Advisor(EA) opens a position(Deal), our defender EA SAFETYLOCK opens a deferred opposite order(Buy Stop or Sell Stop) to this position.

If the trader’s position goes to a loss, the pending protective order triggers, thereby creating a LOCK.

In the functions of the Expert Advisor, it is possible to close the original(source) position or work with the trailingstop and multiply the lot.

There is also a function to modify the price of opening a pending order following the price of the position.

Example

  1. You or another Expert Advisor opens a BUY position (DEAL).
  2.  Our Expert Advisor, SAFETY LOCK, Opens a Pending Order, SELL STOP.
  3.  If the price rises, then our Expert Advisor modifies the opening price of a pending order (Trailing) following the price.

  1.  When the price rolls back (Price Rollback), then the Pending Order is activated.
  2.  A Lock is created from two positions:
  • No. 1 Your position
  • No. 2 SAFETYLOCK position.

The algorithm of this Expert Advisor:

The Expert Advisor (EA) starts his work by checking all open positions for the presence of already placed pending orders.

MagictoMonitor   – Magic numbers of the positions being checked. This option is designed to limit the expert’s work on specific systems.

For example, if you want the system to follow the positions of a particular Expert Advisor, you must replace this parameter with the magic number of this Expert Expert Advisor (EA).

If you want an Expert Advisor (EA) to follow all positions, including positions that have been opened manually, this parameter should be set to 0

SymbolToMonitor   – The name of the instrument behind which the positions should be monitored. This option is designed to restrict the expert from working on specific symbols.

For example, suppose you want the system to keep track of the positions of a particular symbol.

In that case, you must replace this parameter with the exact name of the instrument (for example, EURUSD USDCHF USDRUR).

If you want an Expert Advisor (EA) to follow all positions, including positions that have been opened manually, this parameter should be set to 0

Suppose it is not yet the pending order on the checking position. In that case, SafetyLock PRO   exposes a pending order at a distance delta from the current price (from the current one because not all orders are open at a sufficient distance from the price).

It should be noted that if the positions are opened when the   Exp – SafetyLock PRO, then the price of these pending orders will be at a distance delta from the opening price of the position. 


A pending order can be set with the parameters StopLoss and TakeProfit


Also, a pending order can be set with a lot multiplied by MNLot.

For example, if the position is open with lot 0.5 and the parameter   MNLot   = 2, then the pending order will be opened with lot 1.0. 


Further, the system  Exp – SafetyLock PRO   checks have already opened pending orders.

If the price has left the order for a distance, then the system modifies the pending order, thereby tutoring the order after the price.

If the main position is closed (by stop-loss, take-profit, manual, or another system) – the pending order placed on this position is also deleted.

Parameter   OrderSafetyMonitor   – regulates the ability to check the orders opened from SAFETYLOCK.

In other words, this parameter allows (true) / disables (false) the setting of pending orders at positions that were opened by the system   Exp – SafetyLock PRO

Three other important parameters should be mentioned in this article:   TrailingIfProfitTrailingStop, and Prchoose.

Sometimes need to include trailingstop on positions.

And if we start talking about an automatic system, we add automatic Trailingstop to this system.

To enable the Automatic trailing stop, the parameter  TrailingIfProfit should be set to “true”.

It should be noted that when this function is running, the parameters StopLoss and TakeProfit at the first operation of the function are modified to 0.

Parameter   TrailingStop   – means the trailing stop.

Parameter   Prchoose   – Profit in the points(Pips) at which the automatic trailing stop will begin its work.

Result: With specific settings and subsequent verification of the system, I found that this tool is a kind of goldmine for all systems that are available on the Internet.

This tool can rightly claim the title of “Full-fledged system defender”.

But notice that the market is unpredictable and no one, even the most experienced traders, can not with 100% confidence give the analysis of the market.

Other ideas

  1. The system monitors open orders for all currency pairs or those specified in the Expert Advisor (EA) settings, the parameter   Symbol_Monitor.
  2. The system follows those positions that are exposed in the Expert Advisor (EA) Type_Monitor.
  3. The system supports those magic numbers that are displayed in the Expert Advisor (EA) Magic_Monitor.
  4. A pending order is placed with a stop order for a distance   StopOrderDeltaifUSE of the current price.
  5. Further, the Pending Order is monitored.
  6. If we have passed the distance   StopOrderDeltaifUSE from the order and the parameter   ModifyOrdPend = true, The price of a pending order is set to Breakeven.
  7. As soon as the pending order has been triggered, we begin to follow it (watch out for it).
  8. The system has the function of disabling the monitoring of their orders. Parameter   SafetyPosMonitor = false disables monitoring of the positions that this Expert Advisor created. If you set the parameter to true, the system will monitor its pending orders.
  9. Further, if the Pending Order does not work and the Deal from which the Pending Order was opened is already closed by the user or in another way. The pending order placed on this order is automatically deleted.
  10. In the system, there is an opportunity to multiply the lots of the Pending order — parameter MNLOT. If, for example, the deal is opened with lot 0.2, then the Pending order will be opened with lot 0.2 * MNLOT.
  11. If the   CloseOneifStopsActive = true, the position on which the Pending Order was opened is closed, and only the position created by this Expert Advisor will remain in the work
  12. Also, there is an opportunity in the system to expose   StopLoss and   TakeProfit of pending orders.
  13. It is possible to include a trailing stop on the position TrailingStop.

When the terminal is restarted, the system does not expose the new Pending orders. It monitors the Pending orders placed earlier.

The system can monitor a vast number of orders.

External Variables and Settings

NameDescription
MilliSecondsTimerForMonitoringnumber of milliseconds of execution of the algorithm 
(default 1000 = 1 second)
 

Monitoring and Filter settings

 
symbol MonitoringSymbolMonitoring= ALL_SYMBOL Check all symbols; 
All deals from all currency pairs on the account. 
If you installed an advisor on a chart of any currency pair, he will monitor all currency pairs on the account;


SymbolMonitoring= Check only the current symbol;
The advisor will only monitor and accompany deals with the symbol on which the expert is installed;


SymbolMonitoring= SPECIFID_SYMBOL;
Check only deals as specified in the SPECIFID_Symbol_Monitor symbol. For example, EURUSD – then the adviser will accompany deals only on the symbol EURUSD;
SPECIFID_Symbol_MonitoringList of symbols separated by commas for monitoring.

You can specify symbols for monitoring:
SymbolMonitoring = SPECIFID_SYMBOL 
SPECIFID_Symbol_Monitoring = EURUSD, USDCHF, USDJPY
then, the adviser will follow 3 currency pairs!
Warning! You must specify the characters as written in the “Market Watch”
If it is written EURUSD.c, you need to write EURUSD.с instead of eurusd.c  or EURUSD.C
Type_MonitoringType of deals for monitoring.

BUY
SELL
ALL
Magic_MonitoringThe magic number of deals for monitoring.

Now you can specify a list of magic numbers separated by commas, which you need to Check.
For example:
Magic_Monitoring = -1 means that they will check all magic numbers;
Magic_Monitoring = 0 means that manual deals will be monitored (without Magic Number);
Magic_Monitoring = 555,777 means that magic numbers 555 and 777 will be monitored;
Comment_MonitoringThis option filters transactions for placing LOCK on positions whose comments coincide with Comment_Monitoring

For example:
Comment_Monitoring= “” – monitors all position (deals), no matter what their comment;

Comment_Monitoring= “VirtualTRadePad” – monitors all deals, with the comment of VirtualTRadePad, even if the comment has VirtualTRadePad-1 or VirtualTRadePadEXTRA or TickVirtualTRadePadEXTRA
Min_Lot_MonitoringThe minimum lot for monitoring by the Expert advisor,
if 0 – the parameter is disabled;
Max_Lot_MonitoringThe maximum lot for monitoring by the Expert advisor,
if 0 – the parameter is disabled;
SafetyPosMonitoringEnable monitoring of the positions opened by the SafetyLock Expert Advisor (EA).

If SafetyLock has locked your position by placing a pending order and this pending order was activated and turned into a position, then SafetyLock will install a new pending order for this position.
This algorithm is similar to the Swing algorithm.
LockOnlyLossPosPointLocking only those positions for which the current loss is less than the specified loss in Points (Pips) (indicated with a minus),
0 – disabled.
LockOnlyProfPosPointLocking only those positions for which the current profit is greater than the set profit in Points (Pips),
0 – disabled.
 

General settings

 
Stop LossStopLoss of Pending Orders SafetyLock
TakeProfitTakeProfit of Pending Orders SafetyLock
MNLOTLot multiplier for pending orders
If, for example, the order is opened with lot 0.2, then the pending order will be opened with lot 0.2 * MNLOT ;
StopOrderDeltaifUSEeDistance for Pending Orders SafetyLock
DynamicStopOrderDelta Dynamic distance parameter:

It allows you to set a different distance of pending orders, depending on the lot of the protected position.

With DynamicStopOrderDelta >0: The Higher the lot, the closer the pending order distance!

With DynamicStopOrderDelta <0: The higher the lot, the further the pending order distance!

DynamicStopOrderDelta is set to a position with a volume of 1 lot.
For example:
With DynamicStopOrderDelta = 100:
If the lot (volume) of your position is 1 lot, then the StopOrderDeltaifUSEe distance will be = 100 Points (Pips) ;
If the lot (volume) of your position is 0.1 lot, then the StopOrderDeltaifUSEe distance will be = 1000 Points (Pips) ;
If the lot (volume) of your position will be 0.01 lot, then the StopOrderDeltaifUSEe distance will be = 10,000 points;
With DynamicStopOrderDelta = -100:
If the lot (volume) of your position is 1 lot, then the StopOrderDeltaifUSEe distance will be = 100 Points (Pips) ;
If the lot (volume) of your position is 0.1 lot, then the StopOrderDeltaifUSEe distance will be = 10 Points (Pips) ;
If the lot (volume) of your position is 0.01 lot, then the StopOrderDeltaifUSEe distance will be = 1 Points (Pips) ;
  
NumberofStopOrderThe number of pending orders SafetyLock for one position.

You can set NumberofStopOrder = 5, then 5 pending LOCK orders will be opened for each position.
Allows you to build a grid of pending orders
DistancefromStopOrdersThe grid spacing in Points (Pips), when using NumberofStopOrder
  
ModifyOrdPendEnable modification of the opening price of pending orders when the price moves.

Allows trailing pending orders to follow the price. 

The price of a Pending BuyStop Order will be modified if the SELL position (main) is profitable and continues to gain profit. And the current price is directed downward.

The price of a Pending SellStop Order will be modified if the BUY position (main) is profitable and continues to gain profit. And the current price is directed upwards.

The logic of this function is that we bring the pending order closer to our main position in order to reduce the distance between the pending order and the main position.
ModifyOrdPend_STEPStep of modification in Points (Pips)
ModifyOrdPend_ onlytoOpenPricetrue – the ability to change a pending order only up to the opening price of the position (old version)
false – continue to modify the opening price of pending orders by price movement
 

Additional Close settings

 
ReopenClosedSafetyOrdersIt allows you to reopen the SafetyLock pending orders if they were closed with a stop while the protected position is still open.

For example, 
a Pending order, SafetyLock has worked and activated into a position. This position with stop loss, take profit, or Trailing stop. 
This position, when the price moves, is closed by its Stoploss or TakeProfit. 
When this option is enabled, the SafetyLock advisor will setup a new pending order to the main position.
StopOrderDeltaifReopensThe distance to set the pending order SAFETYLOCK after reopening the order.

If StopOrderDeltaifReopens = 0, then the distance = StopOrderDeltaifUSEe (old version)

The price for setting a pending order will be calculated from the current price.
Close_One_ if_Safety_Closed_In_ProfitCloses the original position if the SafetyLock position has been closed in profits that cover the current loss of the original position.

For example, Close_One_if_Safety_Closed_In_Profit = true MNLOT = 2.
As soon as the LOCK goes off and the Safety position is closed by the TakeProfit, then the original position will be closed.
When using NumberofStopOrder> 1, the profit of SafetyLock positions is calculated from the amount of profit of all positions in the Ticket of the main position.
Now, the closing of the main position occurs only when the amount of profit of the closed positions SAFETYLOCK and the main position is greater or is equal to Close_One_if_Safety_Closed_In_Profit_Dollars.
All orders and positions of SAFETYLOCK are closed.




For example :
Close_One_if_Safety_Closed_In_Profit = true and Close_One_if_Safety_Closed_In_Profit_Dollars = 10 and    StopOrderDeltaifReopens = 10;
Original BUY position and SAFETYLOCK order SELLSTOP;
The price goes down, BUY closes at a loss of -10 $ and the pending order SELLSTOP is activated;
The price continues to go down, and SELL becomes a profitable position with a profit of $ 20;
According to the terms of this function: Loss from the original position BUY -10 $ + current position SAFETYLOCK SELL with a profit of + 20 $ = 10 $ total profit;
The position SAFETYLOCK SELL is closed, and the total profit from two positions (BUY + SAFETYLOCK_SELL) = 10 $.
Close_One_ if_Safety_More_profitableCloses the original position if the SafetyLock position is more profitable, overlapping the current loss of the original position.

For example, 
Close_One_if_Safety_More_profitable = true MNLOT = 2.
As soon as the LOCK goes off and the Safety position is more profitable, both the Safety position and the original position will be closed.
When using NumberofStopOrder> 1, the profit of SafetyLock positions is calculated from the amount of the profit of all positions according to the ticket of the main position.
Now, the closing of the main position and positions of SAFETYLOCK occurs only when the amount of profit of these positions is greater or equal.
Close_One_if_Safety_More_profitable_Dollars (With NumberofStopOrder> 1)
To get the results of previous versions, set Close_One_if_Safety_More_profitable_Dollars = 0.




For example :
Close_One_if_Safety_More_profitable = true and Close_One_if_Safety_More_profitable_Dollars = 10 and  StopOrderDeltaifReopens= 10 andMNLOT = 3;
Original BUY position with lot 0.1 and order SAFETYLOCK SELLSTOP with lot 0.3;
The price goes down, and the current loss is BUY -10 $, then the pending order SELLSTOP is activated;
The price continues to go down, and SELL becomes a profitable position with a profit of $ 30, a loss of the original position BUY = -20 $;
According to the conditions of this function: Loss from the original position BUY -20 $ + current position SAFETYLOCK SELL with a profit of + 30 $ = 10 $ total profit;
The SAFETYLOCK SELL position and the original BUY position are closed, and the total profit from the two positions (BUY + SAFETYLOCK_SELL) = 10 $!
 
CloseOneifStopsActiveClose the position if the SafetyLock pending order has been triggered.

If the pending order is activated and turned into a position, then if this option is enabled, the main position will be closed.
CloseSafetyPositionsifclosedClose SafetyLock positions, which are already activated if the main position is closed.

If the main position has been closed, then the SafetyLock position will also be closed.
Close_One_if _Safety_ClosedIf the position SAFETYLOCK was closed for any reason (manual close, takeprofit, trailing stop), then the main position will also be closed.
Remove_TAKEPROFIT_ ofOriginalifStopsActiveDelete the Takeprofit of the original position if the SafetyLock pending order has been activated;
Remove_STOPLOSS_ ofOriginalifStopsActiveDelete StopLoss of the original position if the SafetyLock pending order has been activated;

It allows you to “hard” fix LOCK on two positions while deleting stop loss and takeprofit. 

Creates a “Safe Lock,” which will not be unlocked.
 

Trailing Stop settings

 
TrailingStopUSEEnable trailing stop positions SAFETYLOCK PRO.

Turned ON(true) trailing stop on positions that have been activated and opened by an Expert Advisor (EA) 
Functional features of experts from www.expforex.com
IfProfTrailIf “true”– when the Expert Advisor starts modifying only from the moment the position is installed to the Breakeven (stoploss on the breakeven point) + TrailingStop of profit Point(Pips).


If “false,” the TrailingStop works right after the position is positioned, and the position is put into profit and pulled after the price.
TrailingStarteNumber of profit Points (Pips) to start the trailing stop function
TrailingStopeDistance in points from the current price to the stop-loss.
If the current profit is 200 Points (Pips), and TrailingStope = 100, then the stop-loss will be set at +100 points.


Thus, we give the price the possibility of a rollback of 100 Points (Pips) maximum. 
In the other case, StopLoss will work, and the position will be closed at +100 Points (Pips).
TrailingStepStep of StopLoss when the trailing stop function is enabled.
 

BreakEven settings

 
MovingInWLUSEEnable the break-even function.

The function modifies the stop loss in LevelWLoss points when the position dials the LevelProfit of the profit items.
Functional features of experts from www.expforex.com


Example:
LevelWLoss = 50 LevelProfit = 200
As soon as the position accumulates 200 points of profit, the StopLoss of the position will be modified to the opening price of the position (+ spread) + 50 points.


Example:
LevelWLoss = 0 LevelProfit = 100
As soon as the position accumulates 100 points of profit, the StopLoss of the position will be modified to the opening price of the position (+ spread)
LevelWLossThe level of profit (LevelWLoss) in points on which the Stop Loss is set when this function is enabled.


1 = 1 point of profit;
0 = Automatic minimum profit mode. 
If it is 0, then the number of points of profit for the breakeven (stoploss on the breakeven point) = Spread of the current currency pair.
LevelProfitThe number of profit points (LevelProfit) gained by the position for setup a stop-loss in the LevelWLoss of profit points(Pips).
LevelProfit must be greater than LevelWLoss

TPWCN EXTRA SETS settings



TPWCM EXTRA SETS Stop when Source Close Pos
When the block is turned on: If the source is closed, then the SAFETYLOCK position will not be closed. Instead, a trailing stop or breakeven is activated.
Those. Instead of closing a SAFETYLOCK position, you have the opportunity to enable a trailing stop and follow the position further.
Trailing stop settings are separate in this case. It turns on only when this position source is closed.
Attention: Pending orders that are not activated will be deleted! The TPWCM block works after the initial position is closed, but the SAFETYLOCK position will not be closed, and a stop loss / take profit / trailing stop will be set on it.
 
TPWCM_UseTPWCM EXTRA SETS Stop when Master Close Pos 
When the block is turned ON(TRUE):
If the source position closes on the source, the SAFETYLOCK position will not be closed on the SAFETYLOCK.
 Instead, a SAFETYLOCK for this SAFETYLOCK position can work with a Trailing stop or breakeven function. 
Instead of closing the SAFETYLOCK position(Deal) on the SAFETYLOCK, you have the opportunity to turn ON a Trailing Stop function and accompany the position further. 
Trailing Stop settings, in this case, are separate from standard TrailinStopUse. 
This function can work when the source position is closed on the source. 
TPWCM_ TakeProfitWhenCloseSourceThe parameter of setting the Take profit for SAFETYLOCK positions (deals), which remain after the source position(deal) is closed; 

After closing the source deal on the source – there is an opportunity, without closing the SAFETYLOCK deal on the SAFETYLOCK , to set a take-profit from the closing price of the source deal on the source;
For Example,
TakeProfitWhenCloseSource=100:
Close price of Source Position (Deal) BUY = 1.2345,
Open price of SAFETYLOCK Position (Deal) BUY = 1.2370,
Take Profit of SAFETYLOCK Position (Deal) BUY = (1.2345+100)=1.2445
TPWCM_ TakeProfitOnlyToProfitZoneWhen it is turned on(true), the Expert Advisor sets the Take Profit, after closing the deal on the source, only in the positive(profit) zone.




If TPWCM_TakeProfitOnlyToProfitZone=true, This function sets Take profit only when the take profit level is in profit.
For Example,
TPWCM_TakeProfitWhenCloseMaster=100 and TPWCM_TakeProfitOnlyToProfitZone=true:




Close price of Source Position (Deal) BUY = 1.2345,
Open price of SAFETYLOCK Position (Deal) BUY = 1.2370,
Take Profit of SAFETYLOCK Position (Deal) BUY = (1.2345+100)=1.2445




Close price of Source Position (Deal) BUY = 1.2345,
Open price of SAFETYLOCK Position (Deal) BUY = 1.2470,
Take Profit of SAFETYLOCK Position (Deal) BUY = (1.2345+100)=0, because 1.2445<1.2470!




If you turn off TPWCM_TakeProfitOnlyToProfitZone =(false) – the Expert Advisor will set the take profit in any case, even in the negative zone.
If, for Example, a SAFETYLOCK position at a loss of -30 points and you set a Take profit = 10 points and TPWCM_TakeProfitOnlyToProfitZone=false,
then, when you close the source position (Deal), the Take profit will be set to the level of -20 points (loss).




Close price of Source Position (Deal) BUY = 1.2345,
Open price of SAFETYLOCK Position (Deal) BUY = 1.2470,
Take Profit of SAFETYLOCK Position (Deal) BUY = (1.2345+100)=1.2445!
TPWCM_ StopLossWhenCloseSourceThe parameter of setting the Stop Loss for SAFETYLOCK positions (deals), which remain after the source position(deal) is closed; 

After closing the source deal on the source – there is an opportunity, without closing the SAFETYLOCK deal on the SAFETYLOCK , to set a stop loss from the closing price of the source deal on the source;
For Example,
TPWCM_StopLossWhenCloseMaster=100:
Close price of Source Position (Deal) BUY = 1.2345,
Open price of SAFETYLOCK Position (Deal) BUY = 1.2370,
Stop Loss of SAFETYLOCK Position (Deal) BUY = (1.2345-100)=1.2245
TPWCM_ TrailingStopUSEEnable Trailing stop / Breakeven on the SAFETYLOCK position(deal) of the SAFETYLOCK after the closing of the source deals;


Difference between 
TrailingStopUSE and TPWCM_TrailingStopUSE: 


1. TrailingStopUSE (true) is always enabled.
That is, he works constantly for all open positions.
If enabled (TrailingStopUSE=true), SAFETYLOCK deals will always have a trailing stop.

2. TPWCM_TrailingStopUSE (true) works only when the source position is closed. 
Only then will the SAFETYLOCK position start working with a trailing stop.

Trailing stop works only in the positive(Profit) zone.
It means That the Trailing stop function starts to work only when the SAFETYLOCK position already has a profit of TPWCM_TrailingStop points (pips).
TPWCM_ BreakEven
Enable breakeven on SAFETYLOCK positions after closing trades in the source.
TPWCM_LevelWLoss Set stop loss at the open price + – TPWCM_LevelWLoss Points (Pips) ;
TPWCM_LevelProfit Set the breakeven when the position is in profit TPWCM_LevelProfit Points (Pips) ;
 

Other settings

 
SetMinStopsAutomatically normalizes all parameters in points to the lowest possible level of stops on the server.
If YOU specified stop loss or distance = 10 points, and the minimum stop level on your server = 20 points, then the Expert Advisor automatically normalizes stop loss and distance values to 20 points.
If you turn this option off(false), then when the server returns error 130, the Expert Advisor can not install a pending order or stop-loss.

Automatically normalize all parameters of the Expert Advisor to the minimum acceptable stop levels. 
With virtual stops – this parameter does not affect. 
With AutoSetMinLevel, stop levels will be brought to the lowest possible levels allowed on the server; 
With ManualSet, the user will receive a message stating that the levels of stops in the Expert Advisor are less than the minimum, and the Expert Advisor will stop trading.
MagicThe magic number of opened pending orders by the EA
SlippageThe level of the maximum possible deviation in price when opening and closing positions (in Points). 


Example: 
Slippage = 1 
Maximum deviation in price when opening a position = Opening price + -1 point(pips). 
Slippage = 100 
Maximum deviation in price when opening a position = Opening price + -100 points(pips). 
For example, the price of opening a position when sending a deal to the server = 1.12345 
But, if during the time of sending and opening a position (deal), the price has changed within 100 points (Requote), then the position (deal) will open with the price of within 1.12245 – 1.12445
MarketWatch
For opened positions with stop-loss / take-profit on an account with MARKET execution. 


First, an EA can open the position (Deal), and after the successful opening, the levels of StopLoss and TakeProfit are modified in this position (deal).

True – for ECN brokers and accounts in which it is forbidden to set stops at the same time as opening a position.

If your account is in the ECN or NDD group, you must set the option to true

FAQ Answers to questions

Our General FAQ

FAQ Answers to the most popular questions

Do you have a recommended setting?

Can you recommend the settings?

How to set up better?

Friends. 

It’s a utility! All settings are individual for each user. You yourself customize this utility according to your requirements.

I cannot recommend my settings to you because I do not know your requirements.

Please download the demo version and find your settings that suit your requirements!

 Unfortunately, I have no recommendations for settings. 

Changelog

Version 24.404 2024.04.04

Global Update EAPADPRO v55

Added: information about profit from closed positions to the chart.

 The information is displayed for each bar of the current timeframe. 

 You can change the timeframe to see the result of trading on a certain bar of the current timeframe.

 If several positions/deals are closed on one bar of the current timeframe, the trading result is summarized, and the total information for a certain bar is displayed. 

 The information is updated when the next position/deal is closed. 

 You can turn off showing history in the panel settings.

===========================================================================================

Added: The status of the Expert Advisor operation if it was launched on the server from “VPS MQL MetaQuotes”.

 When Expert Advisor is running on the server from MetaQuotes, a message will be created on the home computer that Expert Advisors are running on the server “VPS MQL MetaQuotes”. The smiley face is blue. 

 Attention: If an Expert Advisor is launched on both the server and the home computer, it can trade in parallel on 2 terminals (server “VPS MQL MetaQuotes” + home computer); there may be conflicts.

 Attention: If the Expert Advisor is launched on the server “VPS MQL MetaQuotes”, do not Turn it on work on the home computer to avoid conflicts.

 Frequency of polling the status of work on the server = 1 day. 

 After deinitialization of the Expert Advisor on the server – It will get the status – stopped. 

 To test the work on the server from “VPS MQL MetaQuotes”, pending orders are created! 

===========================================================================================

Added: The error status of the Expert Advisor operation can now be read on the EAPADPRO panel. 

 You can click on the Smile or the Expert Advisor operation status bar and you will be shown a message about current errors of Expert Advisor operation. 

 If you click on the Smile button on the panel, you will be shown the causes and errors and their solutions with pictures.

===========================================================================================

Added: Notification of errors and opening/closing of trades to the chart in the form of InfoBox. 

 Notification is shown for 4 types:

—Opening a new trade;

—Closing a deal;

—Modification of a trade;

—Error received by Expert Advisor from the server;

 In the EAPADPRO panel settings, you can turn on or off the notification type you need. 

 Notifications can be viewed as they arrive in the notification queue. 

 Notifications are accumulated in a data array each time you install/reinstall/change Expert Advisor settings.

 In the EAPADPRO header you can also enable disable INFOBOX. 

===========================================================================================

Added: Working with Telegram (Beta version)

 For Expert Advisor to work with the Telegram bot, you need to set up the bot on your phone and create a “public” or “private” channel. 

To receive notifications from your account, you need to assign your bot as an administrator of your “public” or “private” channel. 

Attention! Sending notifications and working with commands takes computer resources! Use the Telegram bot only for your own needs. 

How To set Telegram bot:

New settings for working with Telegram: 

EAPadPRO2=” =============== Telegram bot “;

==TG_PRIORITY=TG_HOME_VPS –> Priority of work. This is the priority mode when the Telegram bot works on the MetaQuotes VPS server and your home computer. 

   TG_HOME_ONLY=1, // Only the HOME bot. The Telegram bot works only on the home computer.

   TG_VPS_ONLY=2, // Only the VPS bot. The Telegram bot works only on the MetaQuotes VPS server.

   TG_VPS_HOME=3, // First VPS bot, second HOME bot. The Telegram bot works on the MetaQuotes VPS server if you upload it to the server. If not, it will work on your home terminal. Check the work on the VPS server every 10 minutes. 

   TG_HOME_VPS=4, // First HOME bot, second VPS bot. The Telegram bot works on a home computer, but if the home computer/terminal is turned off, it will work on the VPS server from MetaQuotes. Check the VPS server’s work every 10 minutes. 

Attention! Screenshots are not available on the VPS server from MetaQuotes!

==TG_Token=”” –> Token bot. Token (unique code) of the bot that will send notifications and receive commands

==TG_ChannelName=”” –> –> Public Channel Name @. Or “private” ID starts -100 of the private channel. That will send notifications about opening/closing/modification/errors and screenshots from the terminal. 

New notification type added to EAPADPRO panel settings:

==Notice Open TG – Send a notification to the Telegram channel if a trade is open;

==Notice Close TG – Send a notification to the Telegram channel if a trade is closed;

==Notice Modify TG – Send a notification to the Telegram channel if a trade is modified;

==Notice Error TG – Send a notification to the Telegram channel if an error is received;

==ScreenShot TG – Send a screenshot to the Telegram channel if a trade is opened or closed;

Attention! This is a beta version of working with the Telegram bot. We are working on improving and adding new features. 

If you have any suggestions, please write in the “Comments” section. 

===========================================================================================

Improvement: Code optimization to increase speed.

Improvement: The speed of the panel update in the strategy tester is now calculated automatically depending on the speed of quotes arrival. 

 This is done to increase the speed of the program in the strategy tester.

 Information update is now equal to 1 real second.

Improvement: The speed of the program running EAPADPRO in the strategy tester. 

 Attention! Events in the strategy tester are processed only when a new tick is created. 

 If a new tick (minimum price movement) is not created, then the panel waits for the next tick. 

  With Visualization: 

   Version 48: 390sec (TickSniper 2024-2024)

   Version 55: 244sec >>159% (TickSniper 2024-2024)

  w/o Visualization: 

   Version 48: 363sec (TickSniper 2020-2024)

   Version 55: 220sec >>165% (TickSniper 2020-2024)

  with Visualization: 

   Version 48: 15750sec (TickSniper 2020-2024)

   Version 55: 6220sec >>253% (TickSniper 2020-2024)

Improvement: The color of the button to close a position on the chart changes depending on the current profit of this position. 

Improvement: Graphic improvements to optimize the Expert Advisor’s performance

Improvement: The account deposit Symbol is cent ¢, USD $, or eur €. All others are the first letter of the deposit currency name. 

Improvement: When visual testing is completed, objects are not removed from the graph. 

Improvement: When creating screenshots after opening/closing positions, the EAPAPDPRO Control Panel will be expanded to show full information.  

 This is done in order to study the trading history of Expert Advisor on the visualization graph after testing is completed.

Fixed: Managing positions and orders from the chart when the panel is minimized.

Fixed: Corrected the error of clearing the chart from unused order labels.

Fixed: AutoSize when switching charts.

Fixed: Drawing errors to Print when the Expert Advisor runs on “VPS MQL MetaQuotes”

Version 24.202 2024.02.02

changed the variable type from int to long for some brokers.

Version 24.127 2024.01.27

+Added full control from the chart. Closing positions/orders, removing stop loss / take profit.
For full management and testing of Expert Advisor in the strategy tester.
+Added languages Chinese, Japanese, Korean, Turkish.

Version 24.125 2024.01.25

EaPadPro v47

Version 24.123 2024.01.23

+BugFix with TrailingStarte=0!
+Changed Default Settings:
Close_One_if_Safety_Closed_In_Profit=true;
StopOrderDeltaifUSEe=100;
MNLOT=2;

Version 23.999 2023.12.27

EAPADPRO v46

Version 23.913 2023.09.18

-Last Build Compilation
-EAPADPRO v44

Version 23.401 2023.03.30

EAPADPRO v43

Version 21.948 2021.10.18

Updating the ModifyOrdPend function

Version 21.946 2021.10.16

EAPADPRO v41
Вывод записи о открытии отложенном ордере удалено для экономии физической памяти.

Version 21.612 2021.06.12

EAPADPRO v40 update, according to the new rules for using the MQL5 Market

Version 21.224 2021.02.24

UPDATE EAPADPRO

Version 21.223 2021.02.23

–EAPADPRO v38: Added tags of pending orders to the chart

– Added a new block of work:

TPWCM EXTRA SETS Actions when the Source position is closed

TPWCM_Use = false; // TPWCM_Use -> Use this block
TPWCM_StopLossWhenCloseSource = 0; // TPWCM_StopLossWhenCloseSource -> Setup StopLoss after close Source
TPWCM_TakeProfitWhenCloseSource = 0; // TPWCM_TakeProfitWhenCloseSource -> Setup TakeProfit after close Source
TPWCM_TakeProfitOnlyToProfitZone = true; // TPWCM_TakeProfitOnlyToProfitZone -> Takeprofit only in Profit
TPWCM_TrailingStopUSE = false; // TPWCM_TrailingStopUSE -> Use TrailingStop after close Source
TPWCM_TrailingStop = 0; // TPWCM_TrailingStop -> Distance of TrailingStop
TPWCM_TrailingStep = 1; // TPWCM_TrailingStep -> Step of TrailingStop
TPWCM_BreakEven = false; // TPWCM_BreakEven -> Setup Breakeven after close Source
TPWCM_LevelWLoss = 0; // TPWCM_LevelWLoss -> Distance from OpenPrice to profitable SL
TPWCM_LevelProfit = 0; // TPWCM_LevelProfit -> Number of points gained by pos to use BE

– Added new filter block:

LockOnlyLossPosPoint = 0; // LockOnlyLossPosPoint -> Min loss for open Pending Order
LockOnlyProfPosPoint = 0; // LockOnlyProfPosPoint -> Min profit for open Pending Order

================================================== ================================================== =========================

TPWCM_Use

TPWCM EXTRA SETS Stops when Source Close Pos
When the block is turned on: If the source is closed, then the SAFETYLOCK position will not be closed.

Instead, a trailing stop or breakeven is activated.
Those. instead of closing a SAFETYLOCK position, you have the opportunity to enable a trailing stop and follow the position further.
Trailing stop settings are separate in this case. And it turns on only when this position source is closed.
Attention: Pending orders that are not activated will be deleted!

The TPWCM block works after the initial position is closed, but the SAFETYLOCK position will not be closed and a stop loss / take profit / trailing stop will be set on it

TPWCM_TakeProfitWhenCloseSource
parameter for setting the take-profit for SAFETYLOCK positions that remain after the source is closed;
After closing the source position, it is possible, without closing the SAFETYLOCK position, to set a take profit for it from the closing price of the source;

TPWCM_TakeProfitOnlyToProfitZone

When enabled, true – the advisor sets take profit, after closing the source – only in the profitable zone.

If, after closing the source position, the SAFETYLOCK position is at a loss, then the take profit will not be set until it is in profit;
If disabled, false – the advisor will place a take profit in any case, even in a losing zone.

TPWCM_TakeProfitOnlyToProfitZone = true means that the take profit will be set only when the SAFETYLOCK position is in profit.
TakeProfit (when installed) will be in profit.

For instance:
If the SAFETYLOCK position is at a loss of -30 points and you set take profit = 10 points, then when you close the source position, the take profit will be set at the level of -20 points (loss).
This function sets the take profit only when the take profit level is in profit.

TPWCM_StopLossWhenCloseSource
the parameter for setting the stop loss for SAFETYLOCK positions that remain after the source is closed;
TPWCM_TrailingStopUSE

Enable trailing stop Breakeven on SAFETYLOCK positions after closing trades in the source;

difference between TrailingStopUSE and TPWCM_TrailingStopUSE

TrailingStopUSE is always used. that is, it works constantly.

If you enable it TrailingStopUSE = true, then SAFETYLOCK positions will always be with a trailing stop.
If TPWCM_TrailingStopUSE = true, then trailing stop is enabled only when the original position is closed.

Only then will the SAFETYLOCK position include a trailing stop.

Trailing stop works only in the profitable zone.
This means that the trailing stop starts working only when the position already has a profit in TPWCM_TrailingStop points.

TPWCM_TrailingStop
Trailing stop distance;
TPWCM_TrailingStep
Trailing stop step;
TPWCM_BreakEven
Enable breakeven on SAFETYLOCK positions after closing trades in the source
TPWCM_LevelWLoss
Set stop loss at the open price + – TPWCM_LevelWLoss points;
TPWCM_LevelProfit
Set the breakeven when the position is in profit TPWCM_LevelProfit points;

LockOnlyLossPosPoint

Locking only those positions for which the current loss is less than the specified loss in points (indicated with a minus),

0 – disabled.

LockOnlyProfPosPoint

Locking only those positions for which the current profit is greater than the set profit in points,

0 – disabled.

Version 20.604 2020.06.04

The error of the SafetyPosMonitoring function when using Magic_Monitoring with several values is fixed.

Version 19.915 2019.09.15

Исправлена ошибка отображения StopOrderDeltaifUSEe в панели EAPADPRO

Version 19.903 2019.09.03

EAPADPRO v33
Change when using Max_Lot_Monitoring / Min_Lot_Monitoring and SafetyPosMonitoring.
Advisor takes into account Max_Lot_Monitoring / Min_Lot_Monitoring in its positions, opened by SAFETYLOCK.

Version 19.804 2019.08.04

EAPADPRO v31

Version 19.606 2019.06.09

– Update EAPADPRO v 28
– Added DynamicStopOrderDelta = dynamic distance parameter:
Allows you to set a different distance of pending order, depending on the lot of the protected position.
With DynamicStopOrderDelta >0: The Higher the lot, the closer the pending order distance!
With DynamicStopOrderDelta <0: The higher the lot, the further the pending order distance!
DynamicStopOrderDelta is set to a position with a volume of 1 lot.

For example:
With DynamicStopOrderDelta = 100:
If the lot (volume) of your position is 1 lot, then the StopOrderDeltaifUSEe distance will be = 100 points;
If the lot (volume) of your position is 0.1 lot, then the StopOrderDeltaifUSEe distance will be = 1000 points;
If the lot (volume) of your position will be 0.01 lot, then the StopOrderDeltaifUSEe distance will be = 10,000 points;

With DynamicStopOrderDelta = -100:
If the lot (volume) of your position is 1 lot, then the StopOrderDeltaifUSEe distance will be = 100 points;
If the lot (volume) of your position is 0.1 lot, then the StopOrderDeltaifUSEe distance will be = 10 points;
If the lot (volume) of your position is 0.01 lot, then the StopOrderDeltaifUSEe distance will be = 1 point;

Version 19.107 2019.01.07

– Update EAPADPRO v25;
– Additional languages added to the panel: Spanish, Portuguese (Brazil), German, Chinese, Japanese;
The translation was made using the GOOGLE Translator + MQL + Terminal site!
if you find an error in your language, please report it in messages. Thank!
– Increase the speed of the panel;

Version 18.991 2018.12.21

– Update EAPADPRO panel to v23 version
– Added a control unit and control the speed of the quotes and the speed of testing.
– Added block output table open deals and positions.

Version 18.966 2018.11.06

Update panel EAPAPDPRO v21
Added hints to external variables
Added variable ModifyOrdPend_onlytoOpenPrice –
true – the ability to modify a pending order only up to the opening price of the position (old version)
false – continue to modify the opening price of pending orders by price movement.

Version 18.830 2018.08.30

Update EAPADPRO v20

Version 18.718 2018.07.30

The functions Close_One_if_Safety_More_profitable and Close_One_if_Safety_Closed_In_Profit have been updated.
When using NumberofStopOrder> 1, the profit of SafetyLock positions is calculated from the amount of the profit of all positions according to the ticket of the main position.

The function Close_One_if_Safety_More_profitable is imenen.
Now the closing of the main position and SAFETYLOCK positions occurs only when the amount of profit of these positions is greater or equal to Close_One_if_Safety_More_profitable_Dollars (With NumberofStopOrder> 1)
To get the results of previous versions, set Close_One_if_Safety_More_profitable_Dollars = 0.

The function Close_One_if_Safety_Closed_In_Profit is changed.
Now the closing of the main position occurs only when the amount of profit of the closed positions SAFETYLOCK and the main position is greater than or equal to Close_One_if_Safety_Closed_In_Profit_Dollars.
All orders and positions of SAFETYLOCK are closed.

If both Close_One_if_Safety_More_profitable and Close_One_if_Safety_Closed_In_Profit functions are enabled,
then the total profit is calculated from the closed positions SAFETYLOCK and positions SAFETYLOCK, which are still open. (Actual for NumberofStopOrder> 1)
The profit amount of SAFETYLOCK must be greater than or equal to Close_One_if_Safety_More_profitable_Dollars + Close_One_if_Safety_Closed_In_Profit_Dollars., Than the main position.

Added function Close_One_if_Safety_Closed
If the position SAFETYLOCK was closed for any reason (manual close, takeprofit, trailing stop), then the main position will also be closed.

The variable StopOrderDeltaifReopen is added to the ReopenClosedSafetyOrders block
StopOrderDeltaifReopens – The distance to set the pending order SAFETYLOCK after reopening the order.
If StopOrderDeltaifReopens = 0, then the distance = StopOrderDeltaifUSEe (old version)
The price for setting a pending order will be calculated from the current price.

Version 18.6 2018.04.24

– Update for the information panel EAPADPRO v2.0;
– If the SPECIFID_Symbol_Monitoring parameter is not set and SymbolMonitoring = SPECIFID_SYMBOLs, then the EA monitors the currency pair it is attached to.
– Changed the conditions for closing Safety positions, if they are more profitable.
Close_One_if_Safety_Closed_In_Profit – close the original position if the SafetyLock position was closed with profit covering the current loss of the original position;
Close_One_if_Safety_Closed_In_Profit_Dollars – profit in USD to cover the original position;
Close_One_if_Safety_More_profitable – close the original position if the profitable SafetyLock position covers the current loss of the original position;
Close_One_if_Safety_More_profitable_Dollars – profit in USD to cover the original position;

Version 17.966 2017.11.10

Fixed error in Buy Stop order modification

Version 17.958 2017.11.01

Updated Remove_TAKEPROFIT_ofOriginalifStopsActive and Remove_STOPLOSS_ofOriginalifStopsActive.
Fixed an error than caused repeated modification of stop loss/take profit of the original position.

Updated the timer function. In case the timer does not start, the EA operates based on ticks.

Version 17.946 2017.10.19

Fixed an error related to the list of magic numbers.
SPECIFID_Symbol_Monitoring – added the ability to create a comma-separated list of symbols to be monitored.

Version 17.324 2017.04.10

– Added the Close_One_if_Safety_Closed_In_Profit parameter, which closes the original position, if the Safety position was closed in profit covering the current loss of the original position.
For example, Close_One_if_Safety_Closed_In_Profit=true MNLOT=2.
As soon as the LOCK triggers and the Safety position closes by take profit, the original position will be closed.

– Added the Close_One_if_Safety_More_profitable parameter, which closes the original position, if the Safety position is more profitable, covering the current loss of the original position.
For example, Close_One_if_Safety_More_profitable=true MNLOT=2.
As soon as the LOCK triggers and the Safety position is more profitable, both the Safety and the original positions will be closed.

– Added the ModifyOrdPend_STEP pending – trailing step for pending orders when the ModifyOrdPend function is enabled

– Added the MilliSecondsTimerForMonitoring parameter – the number of milliseconds of the algorithm execution (by default, 1000 = 1 second)

– The Magic_Monitoring parameter has been updated. It is now possible to specify a list of magic numbers (separated by a comma) to be monitored.
For example:
Magic_Monitoring= -1 means that all magic numbers will be monitored
Magic_Monitoring= 0 means that manual trades will be monitored
Magic_Monitoring= 555,777 means that magic numbers 555 and 777 will be monitored

– Added monitoring filtering by the Comment_Monitoring comment. This option filters deal for placing locks for positions with the comment matching Comment_Monitoring
For example:
Comment_Monitoring=”” – monitors all trades, regardless of the comment
Comment_Monitoring=”VirtualTRadePad” – monitors all trades with the VirtualTRadePad comment, even if the comments contain VirtualTRadePad-1 or VirtualTRadePadEXTRA or TickVirtualTRadePadEXTRA

– Added a breakeven function
MovingInWLUSE – transfer the position to breakeven;
LevelWLoss – transfer the stop loss to +LevelWLoss points;
LevelProfit – when the trade gains LevelProfit points of profit;

– Fixed the error with placing pending orders on their positions when the SafetyPosMonitoring is enabled and more than 1 position in different directions are present in the market.

– Fixed the error with Magic_Monitoring, when setting a Magic_Monitoring value other than “-1”
The EA made this error in such functions as: CloseOneifStopsActive, Remove_TAKEPROFIT_ofOriginalifStopsActive, Remove_STOPLOSS_ofOriginalifStopsActive

– Fixed the error with modification of Take Profit when using the ModifyOrdPend parameter

Version 17.212 2017.02.20

Improved EAPADPRO

– Added two options:
Remove_TAKEPROFIT_ofOriginalifStopsActive – remove the take profit of the original position, if the SafetyLock pending order was triggered;
Remove_STOPLOSS_ofOriginalifStopsActive – remove the stop loss of the original position, if the SafetyLock pending order was triggered;

It allows to “hard” lock two positions by removing the stop loss and take profit. It creates a “safe lock”, which will not be unlocked if the original position was closed by its stop loss or take profit.

Version 17.123 2017.01.27

– Added the EAPADPRO information panel
Details on the panel in our blog: https://www.mql5.com/en/blogs/post/687140

Version 16.919 2016.10.11

Added two new options for filtering trades, where safety stop orders need to be placed
Min_Lot_Monitoring – minimum lot for the EA to monitor, if 0 – parameter is disabled;
Max_Lot_Monitoring – maximum lot for the EA to monitor, if 0 – parameter is disabled;
For example, you need to use the current SafetyLock EA for protecting positions which accumulated a large lot, such as after using martingale. The lot for which an opposite stop order should be placed = 0.16, at the same time the EA must not touch the positions less than 0.16. To do that, set the parameter to: Min_Lot_Monitoring =0.16;
For example, you need to lock all positions with lot sizes from 0.1 to 0.25, to do that, set the parameters to:
Min_Lot_Monitoring = 0.1;
Max_Lot_Monitoring = 0.25;

Added the SetMinStops variable:
In case of AutoSetMinLevel, the stop levels are reduced to the minimum possible levels, allowed on the server;
In case of ManualSet, user receives a message that the stop levels in the EA are less than the minimum allowed ones, and the EA stops operation.

Added the CloseSafetyPositionsifclosed variable:
Close SAFETY positions that have been activated, if the main position was closed.

Version 16.313 2016.03.16

Added variables:
ReopenClosedSafetyOrders – reopen the ‘Safety’ pending orders, if they were closed by a stop order, while the protected position is still open.
NumberofStopOrder – the number of pending orders placed for a position.
DistancefromStopOrders – the distance between the ‘Safety’ orders
CloseOneifStopsActive – Close the position if the ‘Safety’ pending orders was triggered

Version 16.213 2016.02.16

Added the parameters
SymbolMonitoring
SPECIFID_Symbol_Monitor

SymbolMonitoring = ALL_SYMBOL = Monitor all symbols, all trades on the account. If you placed the EA on 1 chart of any currency pair, then it will monitor every currency pair on the account;

SymbolMonitoring = ONLY_CURRENT_SYMBOL = Monitor only the current symbol. The EA will monitor and maintain only trades on the symbol the EA is set on;

SymbolMonitoring = SPECIFID_SYMBOL = Monitor only the trades on the symbol specified in SPECIFID_Symbol_Monitor. For example, EURUSD – then the EA will only maintain the trades on the EURUSD symbol;

Reviews about SafetyLOCK

Thanks for feedback!

    

Stefan Constantinescu

⭐⭐⭐⭐⭐


Stefan Constantinescu 2023.05.24 15:12
This tool is very useful. Too bad it is not created for the MT5 platform

Maik Siebel

⭐⭐⭐⭐⭐


Maik Siebel 2022.10.02 12:47
One of the most important tools in my automated trading.

Luis Leal

⭐⭐⭐⭐⭐


Luis Leal 2021.10.13 22:18
I haven't enough experience yet with all functions, but IS A SERIOUS TOOL! If you know about lock and hedging /covering positions, you will test the cost difference between the stop loss and a well configured lock. I bet on the lock. It's all about RRR, this is the tool for you.

sidneif

⭐⭐⭐⭐⭐


sidneif 2021.02.04 14:43
Excellent EA! It has functions for different types of strategy and works very well. Developer is very attentive and provides the necessary support. Congratulations!

Alexandre Jean Besnard

⭐⭐


Alexandre Jean Besnard 2020.12.29 20:22
Interesting idea ,but in fact it doesnt works , ICmarkets send me emails because they wanna ban my account if i use this ea .Tried several times , but the eea seems to send to much messages . *No ideas about the messages the server receive , i just have emails from the broker that will ban me for hyperactivity
Vladislav Andruschenko
Reply from developer Vladislav  2020.12.29 20:47 
Hello. What message you have ? you would wonder what exactly the problem is. perhaps change the parameters.

Robert Torres Jr


Robert Torres Jr 2020.11.14 22:57
I would like to know how I can get some training on how to use this EA that I rented for the XAUUSD

Vasil lupanov

⭐⭐⭐⭐⭐


Vasil lupanov 2020.10.13 18:23
You are great and great !!!!

Andreas Franz

⭐⭐⭐⭐⭐


Andreas Franz 2020.04.10 06:11
brilliant

C4ptAwesome

⭐⭐⭐⭐⭐


C4ptAwesome 2019.08.21 21:21
Absolutely great to secure your asset. Great manual and top developer!

kkonev981

⭐⭐⭐⭐⭐


kkonev981 2019.07.04 10:22
Замечательная программа.

Mahen Weerakkody

⭐⭐⭐⭐⭐


Mahen Weerakkody 2019.04.23 12:25
Excellent product

drnsf

⭐⭐⭐⭐⭐


drnsf 2019.03.02 10:15
The same good words for an excellent developer!

eriva

⭐⭐⭐⭐⭐


eriva 2019.01.13 11:08
I use many products from Vladislav, the utilities are exceptional even if they require a bit of patience to find the right settings based on their use. Each reviewed utility is used in my real account. Vladislav is a kind and helpful person for any help required. Great Vladislav !!

nakayui818

⭐⭐⭐⭐⭐


nakayui818 2019.01.03 16:49
very good !it will save your account from bankrubt

Cyranc

⭐⭐⭐⭐⭐


Cyranc 2018.06.04 19:01
This EA is excellent, it can really save and protect the trade. Author is very helpful after a few months of trial, Safety Lock can really help to protect the positions However, sometimes the recovery zone will have problem in range market. may I request a parameter that can control the Max Hedge Cycle? Safety Lock is great, but sometimes the swing market will cause unlimited hedging orders and big max drawdown. I hope the hedging order number is under control. For example, if I set Max 3 Hedge orders, the original position is buy, then there will be max sell, buy, sell, no more. After that, Safety Lock will disable the pending order function. Is it possible to add this in next update? Safety Lock will become perfect if this para is included. Thanks in advance.

ericcheungtakyu

⭐⭐⭐⭐⭐


ericcheungtakyu 2018.02.06 16:36
useful and great EA. but it would be better if it can close the original trade when safetylock order SL

Mathews Achankunju

⭐⭐⭐⭐⭐


Mathews Achankunju 2018.01.28 18:46
Amazing product with all the features you will ever need and many more. It's a very reasonable price for such a useful and adaptable utility.

Valeriy Belozertsev

⭐⭐⭐⭐⭐


Valeriy Belozertsev 2017.12.18 18:11
Отличная машинка в умелых руках.

Fabio

⭐⭐⭐⭐⭐


Fabio 2017.12.18 21:16
Very good EA and developer is very supportive of his client base. Highly recommended.

Sai Ming Yu

⭐⭐⭐⭐


Sai Ming Yu 2017.12.07 03:26
Bought it but still have many questiion.

robertleecf

⭐⭐⭐⭐⭐


robertleecf 2017.11.11 01:4
Good and Very useful EA. Author is nice and helpful, willing to update the EA in time.

Yu Pang Chan

⭐⭐⭐⭐⭐


Yu Pang Chan 2017.10.28 20:14
The author keeps reviewing and fixing any reported bugs in only a few days. Good EA.

Mike Panadar

⭐⭐⭐⭐⭐


Mike Panadar 2017.10.23 23:41
THIS ADVISER IS THE BEST FOR MONITORING AND THIS ADVISER OPEN OPPOSITE TRADE WHEN MARKET AGAINST ME, ANDRUS VERY GREAT SUPPORTING ME AND HELP ME UNTIL MY ISSUE RESOLVED, THANK YOU ANDRUSE FOR SUPPORTING AND HELP ME,

LUIZ CLAUDIO TRANNIN

⭐⭐⭐⭐⭐


LUIZ CLAUDIO TRANNIN 2017.06.19 22:43
Very good quality, safety lock installed and you can even hibernate like a bear, there will be no stop out.

Victor Epand

⭐⭐⭐⭐⭐


Victor Epand 2017.02.18 14:49
This EA can be useful for creating locked hedges. If you take a partial take profit of the original position before the safety position activates, the EA closes the old safety position and replaces it with a new one having the adjusted lot size.

Sundaravadiveal TV

⭐⭐⭐⭐⭐


Sundaravadiveal TV 2017.01.28 02:39
Good EA when compared to other costly EA.

Sergey Dzyublik

⭐⭐⭐⭐⭐


Sergey Dzyublik 2017.01.21 00:28
User didn't leave any comment to the rating

burak Güçükdere

⭐⭐⭐⭐⭐


burak Güçükdere 2016.01.11 19:22
Thrust me nothing can protect you better than this product. Every traders must have protection like this manuel or Auto not important everybody or every EA can make wrong chose. And youre Wrong chose protection is waiting 🙂

Comments

Do you have a question?

2 responses to “SafetyLOCK PRO Protect your positions by locking using the opening of opposite pending orders (HEDGE)”

  1. Brad Fowler Avatar
    Brad Fowler

    Hi Vladislav. I have been reviewing your SafetyLock utility and was wondering if you have the ability to set the lock at different distances that the set distance in the input parameters. For example, could you set the distance at something like a HiLo or HiLo ATR?

    1. Expforex Vladislav Avatar

      Hello
      You can set the distance only in pips from the opening price of the position.
      Hi LO – Do you need an automatic robot?
      Try Swing, it has a HIGH LOW strategy.
      https://expforex.com/swing/

Leave a Reply

Extra

Navigation by tabs

Main Documentation Settings FAQ Changelog Reviews Comments Extra

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


    This website uses cookies to improve your experience. By using this website you agree to our Data Protection Policy.
    Read more