MT5 EA – Session Break + IFVG + Grid Strategy

MQL5 Experten Forex

Spezifikation

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



Bewerbungen

1
Entwickler 1
Bewertung
(258)
Projekte
322
30%
Schlichtung
34
26% / 65%
Frist nicht eingehalten
10
3%
Frei
2
Entwickler 2
Bewertung
(19)
Projekte
24
8%
Schlichtung
9
33% / 33%
Frist nicht eingehalten
1
4%
Beschäftigt
3
Entwickler 3
Bewertung
(10)
Projekte
17
18%
Schlichtung
3
33% / 67%
Frist nicht eingehalten
3
18%
Frei
4
Entwickler 4
Bewertung
(62)
Projekte
90
29%
Schlichtung
24
13% / 58%
Frist nicht eingehalten
7
8%
Arbeitet
5
Entwickler 5
Bewertung
(453)
Projekte
715
34%
Schlichtung
34
71% / 9%
Frist nicht eingehalten
22
3%
Frei
6
Entwickler 6
Bewertung
(46)
Projekte
59
53%
Schlichtung
7
86% / 0%
Frist nicht eingehalten
2
3%
Arbeitet
7
Entwickler 7
Bewertung
(25)
Projekte
33
24%
Schlichtung
4
25% / 25%
Frist nicht eingehalten
4
12%
Arbeitet
8
Entwickler 8
Bewertung
(2665)
Projekte
3393
68%
Schlichtung
77
48% / 14%
Frist nicht eingehalten
342
10%
Frei
Veröffentlicht: 1 Beispiel
9
Entwickler 9
Bewertung
(49)
Projekte
74
18%
Schlichtung
30
17% / 53%
Frist nicht eingehalten
31
42%
Frei
10
Entwickler 10
Bewertung
(81)
Projekte
140
52%
Schlichtung
5
80% / 0%
Frist nicht eingehalten
6
4%
Arbeitet
11
Entwickler 11
Bewertung
(10)
Projekte
12
0%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
1
8%
Frei
12
Entwickler 12
Bewertung
(8)
Projekte
9
33%
Schlichtung
5
60% / 40%
Frist nicht eingehalten
0
Frei
13
Entwickler 13
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
14
Entwickler 14
Bewertung
(158)
Projekte
168
43%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
1
1%
Arbeitet
15
Entwickler 15
Bewertung
(32)
Projekte
42
43%
Schlichtung
2
100% / 0%
Frist nicht eingehalten
4
10%
Frei
16
Entwickler 16
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
17
Entwickler 17
Bewertung
(1)
Projekte
2
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
1
50%
Frei
Veröffentlicht: 4 Beispiele
18
Entwickler 18
Bewertung
(4)
Projekte
8
0%
Schlichtung
3
33% / 67%
Frist nicht eingehalten
4
50%
Frei
19
Entwickler 19
Bewertung
(363)
Projekte
436
54%
Schlichtung
21
52% / 14%
Frist nicht eingehalten
30
7%
Beschäftigt
20
Entwickler 20
Bewertung
(198)
Projekte
255
21%
Schlichtung
22
50% / 18%
Frist nicht eingehalten
0
Arbeitet
21
Entwickler 21
Bewertung
(58)
Projekte
90
43%
Schlichtung
4
0% / 100%
Frist nicht eingehalten
3
3%
Arbeitet
22
Entwickler 22
Bewertung
(10)
Projekte
19
42%
Schlichtung
7
0% / 57%
Frist nicht eingehalten
3
16%
Arbeitet
23
Entwickler 23
Bewertung
(298)
Projekte
477
40%
Schlichtung
105
40% / 24%
Frist nicht eingehalten
81
17%
Beschäftigt
Veröffentlicht: 2 Beispiele
24
Entwickler 24
Bewertung
(6)
Projekte
7
71%
Schlichtung
0
Frist nicht eingehalten
0
Frei
25
Entwickler 25
Bewertung
(2)
Projekte
4
50%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
26
Entwickler 26
Bewertung
(5)
Projekte
8
13%
Schlichtung
4
50% / 0%
Frist nicht eingehalten
0
Arbeitet
Veröffentlicht: 3 Artikel, 31 Beispiele
27
Entwickler 27
Bewertung
(16)
Projekte
20
0%
Schlichtung
10
0% / 80%
Frist nicht eingehalten
6
30%
Frei
28
Entwickler 28
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
29
Entwickler 29
Bewertung
(27)
Projekte
43
7%
Schlichtung
18
6% / 78%
Frist nicht eingehalten
26
60%
Frei
30
Entwickler 30
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
31
Entwickler 31
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
32
Entwickler 32
Bewertung
(5)
Projekte
9
11%
Schlichtung
2
0% / 50%
Frist nicht eingehalten
2
22%
Arbeitet
33
Entwickler 33
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
34
Entwickler 34
Bewertung
(271)
Projekte
553
50%
Schlichtung
57
40% / 37%
Frist nicht eingehalten
227
41%
Arbeitet
35
Entwickler 35
Bewertung
(16)
Projekte
23
17%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
4
17%
Beschäftigt
36
Entwickler 36
Bewertung
(6)
Projekte
8
0%
Schlichtung
8
13% / 88%
Frist nicht eingehalten
0
Frei
37
Entwickler 37
Bewertung
(39)
Projekte
44
57%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
0
Arbeitet
38
Entwickler 38
Bewertung
(5)
Projekte
6
50%
Schlichtung
0
Frist nicht eingehalten
1
17%
Frei
39
Entwickler 39
Bewertung
(40)
Projekte
43
58%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
1
2%
Arbeitet
Veröffentlicht: 5 Beispiele
40
Entwickler 40
Bewertung
(12)
Projekte
16
25%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
4
25%
Arbeitet
41
Entwickler 41
Bewertung
(45)
Projekte
91
13%
Schlichtung
34
26% / 59%
Frist nicht eingehalten
37
41%
Frei
42
Entwickler 42
Bewertung
(16)
Projekte
35
23%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
43
Entwickler 43
Bewertung
(258)
Projekte
396
28%
Schlichtung
69
19% / 49%
Frist nicht eingehalten
121
31%
Arbeitet
44
Entwickler 44
Bewertung
(6)
Projekte
5
0%
Schlichtung
4
25% / 75%
Frist nicht eingehalten
2
40%
Frei
45
Entwickler 45
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
46
Entwickler 46
Bewertung
(1)
Projekte
1
0%
Schlichtung
2
0% / 0%
Frist nicht eingehalten
0
Arbeitet
47
Entwickler 47
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
48
Entwickler 48
Bewertung
(577)
Projekte
668
32%
Schlichtung
42
45% / 45%
Frist nicht eingehalten
12
2%
Überlastet
49
Entwickler 49
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
50
Entwickler 50
Bewertung
Projekte
0
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Arbeitet
51
Entwickler 51
Bewertung
(1)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
2
100%
Frei
Ähnliche Aufträge
Am looking for Professional programmer who can build below analysis bot as specified below. The indicators will be provided. 🔷 1. CORE ARCHITECTURE OF YOUR EA Your EA has 3 modes: ✅ Mode 1: Indicator 1 Strategy (9-Signal Engine) ✅ Mode 2: Indicator 2 Strategy (Multi-indicator confluence) ✅ Mode 3: Hybrid Mode (Indicator 1 filters Indicator 2) 🔷 2. PAIR SELECTION LOGIC EA will NOT auto-scan market (based on your
Matriks programında güzel bir stratejim var, meta da kayıtlı olmayan iki indikatörümü de metaya yükledim, stratejim belli, ama robot oluşturmak konusunda bilgim eksik. Yardım istiyorum. Acil dönüş bekliyorum. 12-276 üssel ortalamayı hangi yöne keserse, alphatrend indikaörüde bunu desteklesin, kendi gömdüpüm diğer bir indikatörde seviyelere göre alsın satsın
Hi. Could you slightly rewrite my cBot for me to use a 5-minute chart without a fixed target? The stop should be a trailing stop at the level of the initial range
MT5 EA Developer for Structured ICT/SMC Market Logic Requirements Specification: I need an MT5 Expert Advisor only in MQL5. No indicator, no script, no DLL, and no external API. The EA must be built on a rule-based ICT/SMC-style framework with objective, backtestable logic. I am not looking for social-media-style ICT/SMC interpretation. I need a developer who can convert trading concepts into clear coding rules. The
Hi all, I am looking for a top-rated, experienced MQL5 developer to code Phase 1 (Retail Version) of an advanced Expert Advisor for MetaTrader 5. Key Requirements: 1. Pure Price Action Strategy: Uses H4 Trend Filter (Swing High/Low) and H1 Execution (Wick Scanning >= 66% & Engulfing Candlesticks). Places orders via Buy/Sell Limit at Fibonacci 50% level of the candle body (with Giant Candle threshold rules). 2
I want a mobile bot to trade automatically on my behalf must have experience and be willing to verify your work. It must be profitable and user friendly be easy to use and connect. You'll be given a share of profits
Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w tworzeniu niezawodnych i profesjonalnych robotów handlowych będzie dodatkowym atutem. Proszę o kontakt, jeśli zrealizowałeś już podobne projekty. wszystkie szczeguły podam w
Looking for an experienced programmer to create a fully automated trading system. The EA must be able to detect SPECIFIC H&Shoulder patterns, identify entry point and open a position. Parameters: Candle Count : EX: 50 - meaning the max amount of candle history to look for a pattern. (user adjustable) RISK: EG "2" Meaning the position that must be opened must be 2% of the Balance of the account (user adjustable). The
I’m looking for an experienced MetaTrader 4 (MT4) developer to analyze, repair, and live-test an existing .EX4 Expert Advisor. Project Details Existing file: GannMadeEasy_pro.ex4 Platform: MetaTrader 4 Issue: EA is not loading properly on charts in newer MT4 builds Goal: Make the EA fully functional and compatible with current MT4 versions Requirements The developer must: Analyze the existing EX4 file Identify
i need the EA same working on trading view chart with same specifications of enter in a trade and sl/tp open 2 trades and 1 trade set tp1 & second trade set to tp 3 but sl should move to breakeven when tp1 hit and go to tp2 sl on tp1

Projektdetails

Budget
300 - 1000 USD
Ausführungsfristen
bis 14 Tag(e)