Gap and Lock – trading on gaps without losing positions

Professional trading on a live account. Instead of stop loss, a lock is used. Therefore, the loss is not fixed, but restored.

Strategy – gaps (gaps in price) tend to close. On this movement you can get a good profit. Now, instead of stop loss, lock technology is used, which allows you to profit from a loss-making position

The main principle implemented by the robot is trading on gaps with insuring positions with locks. Instead of stop loss, a lock is used that freezes the loss when the price moves against the main position. The position is not lost. When the price returns to the desired direction, the lock is removed, which makes it possible to restore profit.

Trading Strategy Features

The robot uses the property of gaps (gaps in quotes) to close. When a gap occurs, the robot sets the main position in the direction of closing the gap. Instead of stop loss, the position is insured by a pending order-lock. When the specified profit is reached, the position and lock are closed.

If the price makes a big move in the direction of loss, the position will not be closed, and the lock will turn into a market one and will not allow the loss to develop. When the price turns in the direction of profit, the market lock closes and the loss is blocked by the profit. Instead of a market lock, the robot will again set up a delayed safety lock. Adjustable trailing of the safety lock is provided.

The robot is equipped with all types of protections, allowing stable operation in adverse conditions of a real account. Entering the market is very accurate, after checking many criteria. Automatic money management adapts a lot of transactions to the earned volumes and allows reinvesting the funds received. All this makes trading as safe and effective as possible.

Gaps do not occur often, usually after weekends or holidays. But the high accuracy of transactions with increased volume ensures high trading efficiency.

Parameters

=== MAIN PARAMETERS ===

  • Comment — comments on the settings (any text);
  • Magic — magic number for positions;
  • Language — message language of the robot (Eng / Rus);
  • Trading days — allowed trading days (Only monday / All days);
  • Max spread when opening — maximum spread at which position opening is allowed (points, if 0 – do not control the spread);
  • Transaction time limit — time limit for transactions (number of hours, if 0 – no limit);

=== GAP CONTROL ===

  • Timeframe for find gaps — timeframe on which to search for gaps;
  • Size of the gap — minimum gap size, more than which it is allowed to open deals (points);
  • Coefficient of take profit — gap share used for profit (0.2-1.0);
  • Tick criterion — tick criterion (number of ticks in the direction of closing the gap, 0 – do not use the criterion);

=== LOT MANAGEMENT ===

  • Lot selection — lot management method (Automatic money management/ Fixed lot);
  • Lot for 1000 units of free margin — lot per 1000 units of available funds of the base currency (for automatic money management);
  • Fixed lot — fixed lot for work without money management;

=== LOCK MANAGEMENT ===

  • Timeframe for trailing — timeframe for trailing;
  • Initial Lock — initial lock (points);
  • Type of trailing — type of trailing by lock (No trailing / Simple trailing / By extremes of candles);
  • Start trailing — when to start trailing (Immediately / Only when no loss);
  • Trailing step — move step for lock during trailing (points).
  • Min locking — minimum locking depth (points), after which unlocking is allowed without loss in the lock;
  • Max loss of lock — maximum loss in lock (points). When it is reached, the lock is deleted (if 0 – it is forbidden to unlock at a loss);
  • Unlock delay coefficient — Unlock delay coefficient. The unlocking delay time is determined by this coefficient multiplied by the time before the market`s lock appears (if 0, do not use the unlocking delay);
  • Delay calculation method — method for calculating the delay of unlocking: 1- by the duration of the last pending lock, 2- the maximum value is selected from all the delays within the trading cycle;
  • Max number of unlocks — allowable number of unlocks. When it is exceeded, the lock will not close, until here is a main position.

Recommendations for use

The robot can be used to trade on any accounts. But it is preferable to use accounts with 5-digit quotes, a small spread and high speed. The leverage of the account is preferably not less than 1: 500. Large delays and breaks in communication with the broker server are unacceptable.

In the case of a floating spread, when an unacceptable expansion is possible, you should prohibit the position setting with an invalid spread value. To do this, set the Max spread when opening parameter. The transaction will be opened when the spread becomes less than the specified value. Zero value of the parameter disables spread control, in this case the positions will be set at any value of the spread.

The Max spread when opening parameter should always be set greater than the minimum spread of a particular account. Otherwise, the robot will not work. Good results are obtained if the broker provides a fixed spread of not more than 10-30 pips.

The value of the Tick criterion should not be set too large to avoid excessive delay in entering the market. Acceptable values are 0-30.

It is recommended to use the robot for simultaneous trading on several currency pairs. This increases the stability of trade. When installing the robot on different graphics, install various Magic. Also, the Lot for 1000 units of free margin parameter should be reduced – its value should be divided by the number of currency pairs.

Optimization over time is usually not needed if market parameters have not changed. If the market has changed significantly, then optimization may be needed. Also, optimization may be needed when moving to other brokers, especially those with an increased spread.

If you need optimization, I will tell its features to the buyer in detail in a letter.

New set-files will be posted on this page.

If you have questions, write a letter to the developer. I am pleased to help on any issue.


Download demo version 1.0 for MT4. It only works in the strategy tester.

Download demo version 1.0 for MT5. It only works in the strategy tester.

Buy a robot   $250 (specify in the order – for MT4 or for MT5)


Set-files of optimal parameters of the Gap and Lock robot

Date of optimization : 2020.04.22

For MT4 terminal
set-files of robot version 1.0 and IC Markets broker
Received on real quotes by IC Markets broker with 100% quality. Account Type: Raw Spread. Timeframe H1.

MT4 ICMarkets AUDUSD 2020.04.22.set
MT4 ICMarkets EURUSD 2020.04.22.set
MT4 ICMarkets GBPJPY 2020.04.22.set
MT4 ICMarkets GBPUSD 2020.04.22.set

For MT5 terminal
set-files of robot version 1.0 and IC Markets broker
Received on real quotes by IC Markets broker with 100% quality. Account Type: Raw Spread. Timeframe H1.

MT5 ICMarkets AUDUSD 2020.04.22.set
MT5 ICMarkets EURUSD 2020.04.22.set
MT5 ICMarkets GBPJPY 2020.04.22.set
MT5 ICMarkets GBPUSD 2020.04.22.set
MT5 ICMarkets USDJPY 2020.04.22.set

Download demo version 1.0 for MT4. It only works in the strategy tester.

Download demo version 1.0 for MT5. It only works in the strategy tester.

Buy a robot  $250 (specify in the order – for MT4 or for MT5)