Promo version of the Expert Advisor ExitFromLockMT4. This version works only on the USDJPY currency pair. The full version is here.
The main task of this Expert Advisor is to get out of a drawdown that arose, for example, when using risky strategies. The EA can work with or without full locking.
This EA does not open trades by itself, except for a locking position. It uses the profits of other EAs to close unprofitable orders, accumulating the results of closed profitable trades in a special buffer. Other Expert Advisors can be launched on any instrument available in the terminal - both the current one, where the drawdown occurred, and any other.
The settings are flexible enough to organize your work in the most efficient and selective way. In addition, it closes and cuts losing positions upon gains. When full locking is enabled, the lock is balanced. In total, 26 algorithms of various overlap methods are used (in the future will be added), 4 algorithms for trailing profits for the most effective reduction of the volumes of unprofitable positions. Several types of alerts, automatic lock disclosure function.
A robot to set up may seem complicated, a detailed description of possible use cases will be published in the blog.
Since the EA itself does not open new deals, except for locking, in the strategy tester it works in a special demo mode, which consists of three stages:
- Opening the first deal.
- If the deal goes loss, complete locking occurs.
- The simplest Expert Advisor is launched - a grid operator to generate profit, which is used to close locked positions.
During the test in visual mode, you can check all the functions available from the advisor control panel.
!!! Attention !!!
For the AccBuffer function to work correctly (if enabled), in the Metatrader 4 terminal in the "Account history" tab, you must set the "All history" setting or from the date that you select in the "Start from date history deals for AccBuffer" advisor settings! !! If in the process of work you need to change this setting (for example, view history from a certain date), it is advisable to disable the advisor.
Be careful with the settings if you run multiple copies of the EA on one account with the AccBuffer function active. Since the account history is shared, it is important to properly configure the history processing in each running copy.
The EA will not work on First In First Out accounts (brokers with FIFO rule)