• Overview
  • Reviews (21)
  • Comments (331)
  • What's new

Open lock

The Expert Advisor helps reduce the account drawdown.

To do this, the losing deal is split into multiple small parts, the EA closes each of these parts separately.

It is possible to work in conjunction with other experts. For example, when your EA accumulates loss, Open Lock can disable it and start working with its orders.


Money Management Methods

  1. Locking to prevent a drawdown increase
  2. Averaging orders used to cover the loss
  3. Partial closure to reduce the load on deposit

Averaging orders are opened with a small lot so as not to load the deposit.

Profit of these orders is used to partially close the furthest losing position.

After closing the averaging positions, the EA aligns the lock.


Parameters

  • Language - interface language of the control panel
  • Magic Number - unique identifier of averaging orders. It must not coincide with the magic numbers of other EAs
  • Trading mode - trading mode
    • Opening and closing orders - open and close orders in normal mode
    • Only closing orders (Another advisors will open orders) - the EA will only close and lock (if enabled) positions. Orders must be opened by another EA. The EA will work only with the orders that have been opened with the magic number of the Open Lock EA
  • Maximal lot in average ord (0-not used) - the maximum lot to be opened by the EA in an averaging order. If 0, the lot size is not limited
  • Maximal number average ord in one direction (0-not used) - the maximum number of averaging orders in one direction
  • Maximal step (0-not used) - the maximum step (in pips) that can be set between averaging orders. If 0, the step is not limited. This parameter is only used if the dynamic step is enabled
  • Start work - when to start working
    • At startup - right after starting
    • By drawdown level - after reaching the drawdown level
  • Drawdown in currency - drawdown value in the deposit currency (it must be specified in case 'By drawdown level' is selected)
  • Stop another advisors - stop the operation of other experts in the terminal (works only when the drawdown level is reached)
    • Not use - disable this feature
    • Close chart with same symbol (for single currency advisor's) - close charts of the current symbol. Charts of other symbols will not be closed
    • Close all other charts (for multicurrency advisor's) - close other charts to disable the operation of other experts
  • Action when the risk limit is reached - actions for critically low level of free margin (action is activated 30 seconds after the drawdown is reached)
    • Nothing
    • Locking all positions and stop
    • Сlose all position and stop
  • Equity level in currency - equity level, below which the actions from the previous parameter are triggered (if 0, not used)
  • Equity level in percent - drawdown percentage. If higher than 0, and Action when the risk limit is reached - None, the drawdown value will be displayed on the control panel
  • Time to open orders - time when opening averaging orders is allowed
    • All time
    • Schedule for opening average ord(24H) - allowed time interval
  • From - time to start trading if scheduled trading is selected (can take values from 0 to 23)
  • To - time to stop trading if scheduled trading is selected (can take values from 0 to 23)
  • Settings - how to set the EA parameters
    • Use control panel
    • Use expert inputs - parameters must be set in the EA inputs. This mode should be used when working with VPS by MetaQuotes

If the work is planned from evening until morning, then you should specify From: 22 To: 6

If the work is planned in the daytime, then From: 12 To: 21


Control Panel

  • Locking - enable full locking of positions on the financial instrument. If 5 Buy lots are open, the EA opens 5 more Sell lots. Thus, the loss will not increase.
  • Average orders
    • Lot - lot size for first averaging order
    • Step - distance in pips between orders
    • Way - the direction to open averaging orders
  • Close orders
    • Selection of orders for the EA to work with. You can choose all the orders or a specific one. Only unprofitable orders are displayed in the list
    • Lot - the lot of a losing trade to be closed. If the parameter is equal to 0.2, and the volume of an opened trade is 1.0, the EA will close such a trade in 5 steps
    • Profit - the minimum profit that should be present when closing averaging orders and a part of an unprofitable order

The EA removes all SL and TP levels. This is necessary for correct operation.

When specifying the direction of trade, you should set a greater averaging lot than the lot you close.


Testing

When you start the Expert Advisor, it opens a deal and then tries to close it with a profit.

To open additional market orders, you can use buttons on the control panel.

Anestesist
19
2018.02.18 18:11 
 

Робот шикарен. Депозит возвращает уверенно. Очень удобно когда нет возможности постоянного контроля. Автор молодчик!!!

Francisco Reyes
789
2018.02.13 12:42 
 

En mi opinión un EA magnífico.

Aunque tiene algunos detalles que podrian mejorarse (entre ellas que por el momento no soy capaz de hacerlo funcionar en un VPS)

le doy 5 estrellas porque pienso que es muy bueno.

Lo he probado y probado y es capaz de sacarte de perdidas en muchas situaciones.

Ademas de poder utilizarlo junto a otros EA que tengas,puede ser utilizado de forma individual para operar.

Buen trabajo de Sergey,como ya digo tiene cosas que pueden mejorarse pero sigue siendo un gran EA,para mí de lo mejor que he encontrado en el mercado.

-Actualizo mi comentario del dia 15-11-2017: Tras esta ultima actualización Sergey ha añadido la opción de poder utilizar OL en servidores VPS de MQL5.

Los que utilizamos estos VPS ahora tenemos la opción de poder utilizar OL sin problemas.

Enhorabuena,muchas gracias por tu EA y por ayudar a los usuarios que adquirimos OL.

Denis181986
240
2018.02.05 11:27 
 

шикарно выгреб меня и многих просадок , поддержка на уровне

Cristian Mantovani
455
2018.01.26 10:50 
 

Very valid.

I enter the orders by moving the entrance depending on the Fibonacci lines.

Michail Smikov
203
2018.01.23 08:06 
 

I have been using OpenLock for about 6 months. The result is very good depending from currency pair.

First my account IC Markets, Deposit 1200, Equity 700, drawdown 40%. All orders opened on EURUSD. OL close all orders with profit for 2 month. Its very good result.

Second account FX PRO. Deposit 5K, Equity 4500, drawdown -500USD. Currency pair AUDUSD. All orders closed for 1 week.

I use UP/DOWN direction and step for 450, and set 1/3 lot from far order. Its my best parameter set.

Great EA. Sergey is very fast at giving support and is always there if you have a question.

I recommended this EA!

Maksim Uzakov
325
2018.01.22 20:27 
 

робот наверное хорошь как говорят, но совершенно не работает на впс встроенном в терминал. чего автор забыл указать! деньги на ветер!

Sairoong Kidtook
494
2018.01.01 19:19 
 

Bloc your trade, and scalp all profit close partial manual and is better, i not give good review for martingale i don't like martingale, very dangerous EA if trend go another way, example last week euro don't stop up and EA don't stop sell sell sell very dangerous i not recommend !!

remsgits
419
2017.12.21 16:06 
 

So far so good thanks for Sergey!

Андрей Люляев
199
2017.12.05 13:03 
 

User didn't leave any comment to the rating

vcmet
509
2017.12.04 11:00 
 

Очень понравилась сова. Висит просадка по фунту. Поставил очень не агресивные настройки. Сова понемногу начинает отыгрывать просадку. То что пишут что опасно и что это мартышка-ответ один это какие настройки поставите. Как на меня пусть и пару недель отыгрывает но спокойно чем сидеть и дрожать и верить что за день два и ты в "шоколаде". Сергей очень и очень отличная разработка!!!

20/10/2017 Сова работает месяц. Показала себя с найлутчшей стороны.(Вытягивает фунт с глубокой просадки. Настройки не агресивные) Все совы в маркете работают на заработок(слив) а эта на спасение депозита. Должна быть у каждого трейдера. Однозначно 5 звезд если не больше!!!

04/12/2017 Сова вытянула швейцарца на отлично. По фунту дальше вытягивает. ситуация с ним сложнее так как лок очень большой что в лотах что в растоянии и ходит этот фунт тоже прилично. Да и вытягивал я две пары одновременно, хотя надо как советует Сергей по одной.

Arthit Arunroj
1147
2017.11.28 19:53 
 

Amezing ;-)

Morard Kevin
354
2017.11.22 19:40 
 

Super Ea, OpenLock m'a sauvé plusieurs comptes en déficit! Pas cher pour ses performances

mbillengren
29
2017.11.12 04:55 
 

it works good. I used it on a slave Mt4 vere trades are copied to. The last 2 months my portfolio is down 20% but this EA on the slave platform that recieves the trades by copying is up 11%. So it has turned 20 % drawdown to a 11 % profit. I do not know how it works in trending markets since the markets has been ranging since my purchase of this EA.

geanger
185
2017.10.05 19:05 
 

A very good EA, I use it together with other robots to limit the drawdowns at a comfortable level for myself.

Dmozolev
19
2017.10.04 17:54   

Советник крут. С просадкой справляется хорошо. И очень огромный респект автору. Он всегда на связи и готов помочь.

Manabu Yanagita
1101
2017.09.22 12:54 
 

It is dangerous if the funds are not big.

After all it is Martin...

Maxim Kirillov
844
2017.08.31 15:23 
 

Этот EA не для торговли, а для спасения депозита при просадке. Чудес не бывает, но шансы очень высокие. Поддержка великолепная. Автору спасибо!

Update: Версия 5.2 радует своими новыми функциями.

Daniel Laverdiere
1385
2017.08.18 12:08 
 

Excellent algo so far all in profit.

Grids and martingale always make me wonder, but here you do have a little twist that makes sense.

The equilibrium between averaging and hedging is very important. Always keep in mind software builder to protect the equity.

Aleksandr Polyakov
139
2017.08.14 14:57 
 

Excellent advisor! Quick support and valuable recommendations from the author.

This is the best solution for those who want to quietly reduce the drawdown on the account. Many thanks to the author for this algorithm !!!

Fallet Willy
1776
2017.08.09 10:52 
 

nice :)

Miki L
451
2017.07.28 14:59 
 

Робот сделан хорошо! Автору спасибо!

Version 5.7 - 2018.02.13
- Levels for closing positions, displayed on the chart.
- Added the ability to set the parameters in the EA settings, without using the control panel. This mode should be used to run the EA on the VPS by MetaQuotes.
- Made corrections to rounding of lots when the multiplier is used.
Version 5.6 - 2017.11.28
- Drawdown value can be set in percent. Parameter: Equity level in percent. If the parameter is greater than 0, the drawdown value is displayed on the control panel.
- Changed the Close Only mode. Buy deals opened by another expert will be used for closing unprofitable Buy deals, sell deals will close unprofitable sell deals.
- Added support for the DrowdownSYL, BalanceAndEquitySYL indicators. They plot a graph of changes in the level of drawdown, balance and equity. They work in the tester and in live trading. (https://www.mql5.com/ru/blogs/post/711734)
- Added comment text when opening orders
- Minimizing and maximizing the panel is now more convenient
- Fixed various visual errors
Version 5.5 - 2017.10.04
In the parameters:
- Ability to turn off the opening of orders. Then the EA will work only on locking and closing positions. Another EA should open trades
- Ability to limit the maximum number of open orders

Added actions for achieving critical drawdown
 - Close all positions and stop
 - Close all positions and stop

Disabling other Expert Advisors:
 - It is possible to close only the charts with the current symbol

In the control panel:
- Single on/off ratio for the step and for the lot
- Tooltips for all elements
- Moving control panel
- Minimize control panel (double click at the top)
Version 5.4 - 2017.09.13
- Fixed the EA's algorithm for trading in one direction
Version 5.3 - 2017.09.05
-Added parameter which limit the maximum lot
-Added a dynamic step when opening new orders
-Various visual and program changes
-Updated the overview of the adviser
Version 5.2 - 2017.08.29
- Automatic start when reaching the level of drawdown (set in the deposit currency)
- Disabling other EAs (if another EA has accumulated a drawdown, then Open Lock will turn it off and take the trade on itself)
- Open orders at a specified time (you can specify an interval when there is no news)
Version 5.1 - 2017.08.01
Changed the default parameters for testing as well as the color of price levels