MT5 EA – Session Break + IFVG + Grid Strategy

指定

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
評価
(253)
プロジェクト
316
29%
仲裁
34
26% / 65%
期限切れ
10
3%
2
開発者 2
評価
(19)
プロジェクト
23
9%
仲裁
6
33% / 50%
期限切れ
1
4%
取り込み中
3
開発者 3
評価
(10)
プロジェクト
14
7%
仲裁
3
33% / 67%
期限切れ
1
7%
仕事中
4
開発者 4
評価
(60)
プロジェクト
87
29%
仲裁
24
13% / 58%
期限切れ
7
8%
仕事中
5
開発者 5
評価
(446)
プロジェクト
705
34%
仲裁
34
71% / 9%
期限切れ
22
3%
6
開発者 6
評価
(45)
プロジェクト
57
51%
仲裁
6
83% / 0%
期限切れ
1
2%
仕事中
7
開発者 7
評価
(25)
プロジェクト
33
24%
仲裁
3
33% / 33%
期限切れ
4
12%
仕事中
8
開発者 8
評価
(2655)
プロジェクト
3373
68%
仲裁
77
48% / 14%
期限切れ
342
10%
パブリッシュした人: 1 code
9
開発者 9
評価
(49)
プロジェクト
74
18%
仲裁
30
17% / 53%
期限切れ
31
42%
10
開発者 10
評価
(81)
プロジェクト
139
52%
仲裁
5
80% / 0%
期限切れ
6
4%
仕事中
11
開発者 11
評価
(7)
プロジェクト
8
0%
仲裁
2
0% / 50%
期限切れ
1
13%
仕事中
12
開発者 12
評価
(8)
プロジェクト
9
33%
仲裁
5
60% / 40%
期限切れ
0
13
開発者 13
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 100%
期限切れ
0
14
開発者 14
評価
(143)
プロジェクト
152
41%
仲裁
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 codes
18
開発者 18
評価
(4)
プロジェクト
8
0%
仲裁
3
33% / 67%
期限切れ
4
50%
19
開発者 19
評価
(362)
プロジェクト
434
54%
仲裁
20
55% / 15%
期限切れ
30
7%
仕事中
20
開発者 20
評価
(188)
プロジェクト
244
20%
仲裁
22
50% / 18%
期限切れ
0
仕事中
21
開発者 21
評価
(58)
プロジェクト
90
43%
仲裁
4
0% / 100%
期限切れ
3
3%
仕事中
22
開発者 22
評価
(10)
プロジェクト
19
42%
仲裁
7
0% / 57%
期限切れ
3
16%
仕事中
23
開発者 23
評価
(296)
プロジェクト
475
40%
仲裁
105
40% / 24%
期限切れ
80
17%
多忙
パブリッシュした人: 2 codes
24
開発者 24
評価
(6)
プロジェクト
7
71%
仲裁
0
期限切れ
0
25
開発者 25
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
26
開発者 26
評価
(3)
プロジェクト
5
20%
仲裁
2
50% / 0%
期限切れ
0
仕事中
パブリッシュした人: 1 article, 24 codes
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
類似した注文
IF ANYONE IS INTERESTED IN GETTING ANY KIND OF CUSTOM BOT FOR TRADING I WILL ADD THE STRATEGIES ACCORDING TO YOUR CHOICE MINE BEST BOT IS SCALPING AND HEDGING BOT YOU CAN CONTACT ME FOR SERVICES
I trade ES futures on the Ninja trader platform. I recently came across an indicator and wanted to check with you if you can build a similar indicator that works on Orenko or Ninja renko charts, and also combines support and resistance untouched. Below is the indicator, which will tell you market chop and to avoid. I want to include a support and resistance bar on the chart when there is no chop please let me know
Project Description: I have a fully working Pine Script for TradingView called MFHA 3-Step Market Structure Strategy V2 . I need it converted into MT5 , with the logic kept as close to the Pine version as possible. What I need: MT5 Indicator Exact oscillator logic Multi-timeframe logic using 4H, 15M, and 1M EMA filter MTF EMA dashboard RSI display Buy and sell visual signals Background state/flash behavior where
The scanner will scan all currency base on MACD Diverdgent, my strength indicator and my better volume indicator. All this would be across all time frame and all currency pairs
Darwish 50 - 100 USD
I want a bot that runs on any timeframe, but for now, I’ll set it on 1 minute. It should watch for buy and sell signals. Each time it opens a trade, as soon as it makes a small profit like 1, 2, or 3 dollars it closes, then checks for the next signal. If it sees a buy, it buys; if it sees a sell, it sells—just repeating the cycle, over and over, until I stop it
📢 Project Title:MT5 Expert Advisor (EA) – Advanced Renko Strategy (Full Automation) 📄 Project Description:I want to develop a fully automated MT5 Expert Advisor (EA) based on my existing TradingView Renko strategy.I already have a working Pine Script that generates Buy/Sell alerts with ATR and other logic. Now I need the same strategy to be fully converted into MT5 EA with built-in Renko logic (no external
Description: I need an MQL5 Expert Advisor for Gold (XAUUSD). I am a developer myself — I will read your code and I will know if it is a template. Do not apply if your proposal includes: Generic descriptions ("it will have TP, SL, trailing stop") — I already know that AI-generated code Copy-paste from existing free EAs Apply only if you can answer these before we start: What is the entry logic? Describe the exact
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
I need an Expert Advisor (EA) for XAUUSD using a Grid + Martingale + Hedging strategy. Main features: • Open Buy & Sell at start (hedging) • Grid system with adjustable step (price-based levels) • Lot multiplier (martingale-style) • Fixed TP per trade + basket TP (close all in profit) • Continuous re-entry after TP • Risk management (max trades, max lot, equity stop) Additional requirements: • EA must include access
1. Trade Execution Timing The EA must execute trades exactly at 7:00 PM IST (Indian Standard Time) every trading day. Time conversion must be handled internally if the broker server time differs from IST. Execution should trigger only once per day (no duplicate trades). 2. Trade Type At 7:00 PM IST, the EA must: Open 1 Buy/Sell (Long/Short) position (configurable) 3. Order Execution Method Orders must be placed

プロジェクト情報

予算
300 - 1000 USD
締め切り
最高 14 日

依頼者

(5)
出された注文21
裁定取引数0