Login / Register
Add a review
Log in
Sign UP

GAP TRADING MT4-expert advisor for trading on gaps. This strategy is very popular in the FOREX market – when there is a gap on the chart, most often the price then closes it. The Expert Advisor rarely trades, mainly at the opening of a new week on Monday, so testing should be carried out over a large period of time. The most volatile pairs are suitable for working: GBPUSD, USDCAD, EURUSD, USDJPY, USDCHF, AUDUSD, NZDUSD.

? Telegram chat for questions and discussion:


  • OPENING_POSITIONS-select positions to open;
  • TIMEFRAME_ATR – ATR timeframe;
  • PERIOD_ATR – ATR period;
  • GAP_SIZE_IN_PIPS-measure the gap size in points or as % of ATR;
  • MINIMUM_GAP_SIZE – gap size;
  • MAX_SLIPPAGE – maximum slippage when opening a trade;
  • MAX_SPREAD – maximum spread when opening a trade;
  • COMMISSION_CONTROL – if the broker has a commission for the transaction, set the COMMISSION_CONTROL = true flag;
  • COMMISSION_PER_LOT-commission for 1 lot;
  • RISK_PER_TRADE-calculation of the trading lot depending on the risk per trade. If = 0.0, then not used;
  • LOTS – the starting lot for each N of the balance (the FROM_BALANCE parameter);
  • FROM_BALANCE – N units of the base currency for calculating the lot;
  • OPEN_INTERVAL_MINUTES – minimum interval between opening new orders in minutes;
  • OPEN_INTERVAL_PIPS – minimum interval between opening new orders in pips;
  • PAUSE_AFTER_CLOSING – pause after the order is closed, between the next trades;
  • MAX_OPEN_ORDERS – maximum number of unidirectional orders;
  • START_LOT_MULTIPLIER – from which position to start increasing the lot;
  • LOT_MULTIPLIER – lot multiplier;
  • MAX_OPEN_LOT – maximum lot;
  • CLOSE_DELAY_MINUTES – minimum transaction duration in minutes;
  • STOPLOSS_PERCENT-use stop loss as a percentage of the balance;
  • STOPLOSS-stop loss;
  • TAKEPROFIT_PERCENT – use take=profit as a percentage of the balance;
  • TAKEPROFIT – take=profit;
  • BREAKEVEN-profit in pips, at which the stop loss will be set to the breakeven level. If = 0, it is not used;
  • TRAILING_STOP – the size of the trailing stop in pips, by which the fixed profit will change. If = 0, it is not used;
  • TRAILING_STEP – the trailing stop step in pips that remains for the price move after the stop loss modification;

[spoiler title=”



Add review
Reviews ( 0 ):