MT5 EA – Session Break + IFVG + Grid Strategy

MQL5 Эксперты Forex

Техническое задание

I am looking for an experienced MQL5 developer to build a fully automated MT5 Expert Advisor based on Session Breaks and Inverted Fair Value Gap (iFVG) logic.

The EA must be coded professionally, optimized for backtesting, and written with clean, organized inputs and modular code.


Core Strategy

The EA should:

  1. Mark previous session highs and lows

  2. Wait for the current session to break the previous session high or low

  3. After the break, wait for the correct Fair Value Gap (FVG)

  4. Once the FVG is invalidated and becomes an Inverted FVG (iFVG), enter the trade at candle close

  5. Manage the trade using stop loss, take profit, optional grid, trailing stop, and filters

The EA must include configurable trade limits:

  • Maximum open trades at one time

  • Maximum trades per session

  • Maximum trades per day


Session Settings

The EA must support 4 sessions and allow all session times to be fully editable.

Default UTC session times:

  • Session 1: 02:00 – 07:00

  • Session 2: 07:00 – 15:00

  • Session 3: 15:00 – 20:00

  • Session 4: 20:00 – 02:00

Required:

  • User can set start hour and minute for each session

  • User can set end hour and minute for each session

  • Session 4 crossing midnight must work correctly

  • Automatic GMT offset detection so session times always remain based on UTC regardless of broker server time

  • Option to choose which sessions are allowed for trading

  • Option to show/hide session drawings

The EA must draw on chart:

  • Session box

  • Session high

  • Session low

  • Session labels

Range type must be wick-to-wick.


Session Break Logic

The EA must compare the current session with the previous session.

Rules:

  • If current session breaks previous session HIGH → only look for SELL setup

  • If current session breaks previous session LOW → only look for BUY setup

A session break should be considered valid if either:

  • Price wicks through the previous session high/low

  • Candle closes through the previous session high/low

After a valid break happens, the EA should only continue to look for the matching FVG setup.


Fair Value Gap (FVG) Logic

The EA must detect both bullish and bearish FVG.

Standard 3-candle FVG definition:

Bullish FVG:

  • Candle 1 high < Candle 3 low

Bearish FVG:

  • Candle 1 low > Candle 3 high

The FVG timeframe must always use the current chart timeframe.

Inputs required:

  • Minimum FVG size in points/pips

  • Maximum FVG age in candles

  • Use only new FVG after session break = true/false


IFVG Entry Logic

SELL Setup:

  1. Previous session high is broken

  2. Look for a bullish FVG

  3. When price closes back down through the bullish FVG, it becomes an IFVG

  4. Enter SELL at candle close

BUY Setup:

  1. Previous session low is broken

  2. Look for a bearish FVG

  3. When price closes back up through the bearish FVG, it becomes an IFVG

  4. Enter BUY at candle close

The entry must happen at candle close only.

Please include an input for:

  • IFVG confirmation method:

    • Wick through FVG

    • Candle close through FVG


Trade Management

The EA must include configurable trade limits.

Inputs:

  • Maximum open trades at one time

  • Maximum trades per session

  • Maximum trades per day

The EA should not open any new trades once any of these limits are reached.


Stop Loss Options

The EA must support 3 stop loss methods.

Option 1 – Current Session High/Low

  • SELL = current session high + extra buffer

  • BUY = current session low - extra buffer

Inputs:

  • Additional SL buffer in pips/points

Option 2 – Fixed Stop Loss

  • Fixed SL in pips

Option 3 – FVG Based Stop Loss

  • SELL = above bullish FVG + extra points

  • BUY = below bearish FVG + extra points

Inputs:

  • FVG SL buffer in pips/points


Take Profit Options

Option 1 – Risk Reward Based

TP must be based on stop loss size.

Examples:

  • 1 = 1:1

  • 2 = 1:2

  • 3 = 1:3

Option 2 – Fixed Take Profit

  • Fixed TP in pips


Grid Recovery System

The EA must include an optional grid system.

Grid levels can be calculated from the ORIGINAL TP distance.

Formula:

Grid Distance = Original TP Distance × Grid Distance Multiplier

Example:

  • Original TP distance = 100 pips

  • Grid Distance Multiplier = 0.5

  • New grid level every 50 pips against trade

Required inputs:

  • Enable Grid

  • Grid Distance Multiplier string

  • Grid Volume Multiplier string

  • Maximum Grid Levels

Volume logic:

  • Each new grid trade volume = previous trade volume × Grid Volume Multiplier

Example:

  • Trade 1 = 0.10

  • Grid 1 = 0.20

  • Grid 2 = 0.40

  • Grid 3 = 0.80


Basket TP Recalculation

When a new grid trade opens, the EA must recalculate a new shared TP for ALL open positions.

Important:

The total combined profit at the new TP must remain equal to the original target profit from the first trade only.

Example:

  • First trade target profit = $100

  • After additional grid positions are opened, move TP closer so total basket profit still equals $100

This shared TP must automatically update every time a new grid level opens.


Trailing Stop

The EA must support a standard trailing stop.

Inputs:

  • Enable trailing stop

  • Trailing trigger in pips

  • Trailing trigger as (%TP)

  • Trailing size (%TP)

  • Trailing step

Logic:

  • When trade reaches trailing trigger, begin trailing SL

  • Only move trailing SL after price moves by the trailing step


Trail at TP Option

The EA must also include a second trailing feature.

Rules:

  • Only if NO grid position was opened

  • If price reaches original TP directly

  • Instead of closing trade, EA can:

    • Remove TP

    • Start trailing stop

Required inputs:

  • Enable Trail At TP

  • Trail At TP Distance

  • Trail At TP Step

If a grid trade has been opened, then this feature should not activate.


Money Management

The EA must support two lot size modes.

Option 1 – Risk %

  • Risk based on stop loss size and account balance/equity

Inputs:

  • Risk %

Option 2 – Fixed Lot

Inputs:

  • Fixed Lot Size

Please ensure proper lot calculation according to broker minimum lot and lot step.


Filters

The EA must include the following optional filters.

1. Session Filter

User can choose which sessions are allowed to trade:

  • Session 1

  • Session 2

  • Session 3

  • Session 4

2. Trend Filter

Optional EMA filter.

Inputs:

  • Enable Trend Filter

  • EMA Period

  • EMA Timeframe

Rules:

  • BUY allowed only if price is above EMA

  • SELL allowed only if price is below EMA

3. Spread Filter

Inputs:

  • Maximum allowed spread in points

If current spread is above limit, no trade.

4. Day Filter

User can enable/disable trading for:

  • Monday

  • Tuesday

  • Wednesday

  • Thursday

  • Friday

Optional Saturday/Sunday support also preferred.

5. News Filter

The EA must support high-impact red-folder news filtering.

Required:

  • Detect High impact and Moderate impact news

  • Option to avoid trading only during the affected session

  • Option to avoid trading for the entire day if red-folder news exists that day

The EA should not open any new trades during blocked sessions or blocked days.


6. Maximum Drawdown Filter

The EA must include a maximum drawdown filter.

Inputs:

  • Maximum allowed drawdown %

Logic:

  • Drawdown must be calculated as a percentage of current account balance

  • If current floating drawdown exceeds the maximum allowed value, the EA must close all the trades

7. Broker Authentication

The EA must include a broker authentication / broker lock system.

Required:

  • EA should only work on specified broker names or server names

  • If broker does not match, EA must stop loading and show an error message

Additional Requirements
  • Clean and organized input panel

  • Input groups/categories

  • Magic number input

  • Comment input

  • Multi-symbol compatible preferred

  • Works on any time frame

  • Must work in Strategy Tester

  • Must work in visual backtest mode

  • EA should avoid duplicate trades

  • Proper error handling

  • No repainting logic

  • Source code (.mq5) required

  • Final compiled .ex5 required

  • Developer should explain where strategy settings can be modified


Deliverables

Please provide:

  • .mq5 source file

  • .ex5 compiled file

  • Instructions for setup and inputs

  • Bug fixes after the release, if any.

Please only apply if you have experience building:

  • IFVG logic

  • Grid systems

  • Advanced MT5 order management



Откликнулись

1
Разработчик 1
Оценка
(280)
Проекты
351
29%
Арбитраж
37
27% / 65%
Просрочено
10
3%
Загружен
2
Разработчик 2
Оценка
(22)
Проекты
28
7%
Арбитраж
9
33% / 33%
Просрочено
1
4%
Работает
3
Разработчик 3
Оценка
(18)
Проекты
24
33%
Арбитраж
3
33% / 67%
Просрочено
3
13%
Работает
4
Разработчик 4
Оценка
(62)
Проекты
90
29%
Арбитраж
24
13% / 58%
Просрочено
7
8%
Работает
5
Разработчик 5
Оценка
(455)
Проекты
721
34%
Арбитраж
35
71% / 9%
Просрочено
23
3%
Свободен
6
Разработчик 6
Оценка
(47)
Проекты
61
54%
Арбитраж
7
86% / 0%
Просрочено
2
3%
Работает
7
Разработчик 7
Оценка
(25)
Проекты
34
26%
Арбитраж
4
50% / 25%
Просрочено
4
12%
Свободен
8
Разработчик 8
Оценка
(2675)
Проекты
3414
68%
Арбитраж
77
48% / 14%
Просрочено
342
10%
Свободен
Опубликовал: 1 пример
9
Разработчик 9
Оценка
(49)
Проекты
74
18%
Арбитраж
30
17% / 53%
Просрочено
31
42%
Свободен
10
Разработчик 10
Оценка
(81)
Проекты
142
53%
Арбитраж
5
80% / 0%
Просрочено
6
4%
Свободен
11
Разработчик 11
Оценка
(10)
Проекты
12
0%
Арбитраж
3
33% / 33%
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(8)
Проекты
9
33%
Арбитраж
5
60% / 40%
Просрочено
0
Свободен
13
Разработчик 13
Оценка
(1)
Проекты
1
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
14
Разработчик 14
Оценка
(177)
Проекты
189
47%
Арбитраж
3
33% / 33%
Просрочено
1
1%
Загружен
15
Разработчик 15
Оценка
(32)
Проекты
42
43%
Арбитраж
2
100% / 0%
Просрочено
4
10%
Свободен
16
Разработчик 16
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
17
Разработчик 17
Оценка
(1)
Проекты
2
0%
Арбитраж
1
0% / 100%
Просрочено
1
50%
Свободен
Опубликовал: 4 примера
18
Разработчик 18
Оценка
(4)
Проекты
8
0%
Арбитраж
3
33% / 67%
Просрочено
4
50%
Свободен
19
Разработчик 19
Оценка
(367)
Проекты
449
55%
Арбитраж
24
54% / 17%
Просрочено
30
7%
Загружен
20
Разработчик 20
Оценка
(209)
Проекты
272
21%
Арбитраж
24
54% / 17%
Просрочено
0
Свободен
21
Разработчик 21
Оценка
(59)
Проекты
92
42%
Арбитраж
4
0% / 100%
Просрочено
3
3%
Работает
22
Разработчик 22
Оценка
(13)
Проекты
22
41%
Арбитраж
8
0% / 50%
Просрочено
3
14%
Свободен
23
Разработчик 23
Оценка
(298)
Проекты
478
40%
Арбитраж
105
40% / 24%
Просрочено
82
17%
Загружен
Опубликовал: 2 примера
24
Разработчик 24
Оценка
(12)
Проекты
13
62%
Арбитраж
0
Просрочено
0
Свободен
25
Разработчик 25
Оценка
(4)
Проекты
7
57%
Арбитраж
1
100% / 0%
Просрочено
0
Свободен
26
Разработчик 26
Оценка
(15)
Проекты
22
45%
Арбитраж
6
33% / 33%
Просрочено
2
9%
Загружен
Опубликовал: 7 статей, 35 примеров
27
Разработчик 27
Оценка
(16)
Проекты
20
0%
Арбитраж
10
0% / 80%
Просрочено
6
30%
Свободен
28
Разработчик 28
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
29
Разработчик 29
Оценка
(27)
Проекты
43
7%
Арбитраж
18
6% / 78%
Просрочено
26
60%
Свободен
30
Разработчик 30
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
31
Разработчик 31
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
32
Разработчик 32
Оценка
(9)
Проекты
16
19%
Арбитраж
2
0% / 50%
Просрочено
3
19%
Загружен
33
Разработчик 33
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
34
Разработчик 34
Оценка
(271)
Проекты
553
50%
Арбитраж
57
40% / 37%
Просрочено
227
41%
Работает
35
Разработчик 35
Оценка
(24)
Проекты
32
38%
Арбитраж
4
50% / 25%
Просрочено
5
16%
Работает
36
Разработчик 36
Оценка
(6)
Проекты
8
0%
Арбитраж
8
13% / 88%
Просрочено
0
Свободен
37
Разработчик 37
Оценка
(70)
Проекты
88
58%
Арбитраж
6
67% / 17%
Просрочено
2
2%
Загружен
38
Разработчик 38
Оценка
(5)
Проекты
6
50%
Арбитраж
0
Просрочено
1
17%
Свободен
39
Разработчик 39
Оценка
(45)
Проекты
53
57%
Арбитраж
2
100% / 0%
Просрочено
1
2%
Свободен
Опубликовал: 5 примеров
40
Разработчик 40
Оценка
(16)
Проекты
21
29%
Арбитраж
2
50% / 0%
Просрочено
4
19%
Работает
41
Разработчик 41
Оценка
(45)
Проекты
91
13%
Арбитраж
34
26% / 59%
Просрочено
37
41%
Свободен
42
Разработчик 42
Оценка
(16)
Проекты
35
23%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
43
Разработчик 43
Оценка
(258)
Проекты
396
28%
Арбитраж
70
19% / 49%
Просрочено
121
31%
Работает
44
Разработчик 44
Оценка
(7)
Проекты
6
0%
Арбитраж
4
25% / 75%
Просрочено
2
33%
Свободен
45
Разработчик 45
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
46
Разработчик 46
Оценка
(1)
Проекты
1
0%
Арбитраж
2
0% / 0%
Просрочено
0
Работает
47
Разработчик 47
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
48
Разработчик 48
Оценка
(618)
Проекты
721
33%
Арбитраж
46
48% / 41%
Просрочено
14
2%
Загружен
49
Разработчик 49
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
50
Разработчик 50
Оценка
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
51
Разработчик 51
Оценка
(1)
Проекты
2
0%
Арбитраж
0
Просрочено
2
100%
Свободен
Похожие заказы
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Subject: Custom MT5 Multi-Currency EA Request - Multi-Timeframe Strategy with Trailing Stop Hi, I am looking for a developer to create a custom Expert Advisor (EA) for MetaTrader 5 (MT5) . The EA must be optimized for multi-currency testing and trading , allowing me to run it across multiple currency pairs simultaneously. The trading logic should be based on a multi-timeframe approach using the following indicators
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I need to build one from scratch . Experience with Sierra Chart, ACSIL
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name

Информация о проекте

Бюджет
300 - 1000 USD
Сроки выполнения
до 14 дн.