Specification

MT4 Hedging Expert Advisor Build
Project: Custom Grid + Hedge EA Development (MT4)
Strategy Concept

We want to develop a custom Expert Advisor (EA) that combines trend filtering, indicator-based entry signals, and grid trading.

Indicators

EMAs (multi-timeframe trend filter):

Short EMAs (e.g. 10–30) for short-term direction

Medium EMAs (e.g. 50–100) for structure confirmation

Long EMA (200) as main trend filter

Signals should only be taken when EMA structure aligns with trend bias

RSI (14):

Used as a momentum filter

Avoid buying when RSI is oversold (below ~30)

Avoid selling when RSI is overbought (above ~70)

Optional divergence logic: if RSI diverges from price, trigger an opposite entry

Stochastic (5,3,3):

Extra swing filter for entry validation (overbought/oversold + crosses)

Entry Logic

First Entry:

A buy or sell is triggered when EMA structure + RSI + Stochastic agree

Example: In a downtrend (EMA short < mid < slow < EMA200), open a sell if RSI and Stoch confirm

Grid Expansion:

After the first entry, the EA adds positions in the same direction at fixed pip distances

Step 1: tighter grid (e.g. 20 pips)

After X orders (e.g. 9), step switches to wider spacing (e.g. 100 pips)

Hedging:

EA can open a new grid in the opposite direction if fresh entry conditions are met

Buy and Sell baskets are managed independently

Exit Logic

Basket Take Profit (TP):

Close all trades on one side once the combined profit (USD-based) reaches a set target

Equity Protection:

Optional buffer to secure gains and prevent overexposure
Technical Requirements

Platform: MT4

Inputs must be configurable:

EMA periods, RSI thresholds, Stoch settings

Grid step sizes, switch-after-N orders, basket TP (USD or pips)

Max orders per basket, spread filter, minimum spacing between orders

Must support independent hedging baskets (buy & sell)

Clean, stable code (no repainting indicators)
Deliverables

Source code .mq4
Full input parameter guide

Example backtest (GBPUSD H1 recommended) to show functionality

Bonus (Nice-to-Have)

On-chart info panel (status, number of orders, basket P/L, cleanup buffer)

Auto lot-sizing options

Adjustable equity protection

We are looking for an experienced developer who has built grid/martingale/hedge EAs before and can deliver a stable and professional codebase.

Responded

1
Developer 1
Rating
(273)
Projects
401
27%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
2
Developer 2
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
3
Developer 3
Rating
(60)
Projects
87
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
5
Developer 5
Rating
(508)
Projects
976
74%
Arbitration
27
19% / 67%
Overdue
101
10%
Working
Published: 1 article, 6 codes
6
Developer 6
Rating
(141)
Projects
150
41%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
7
Developer 7
Rating
(43)
Projects
62
23%
Arbitration
8
25% / 38%
Overdue
10
16%
Working
8
Developer 8
Rating
(39)
Projects
52
19%
Arbitration
15
27% / 67%
Overdue
8
15%
Free
Published: 1 code
9
Developer 9
Rating
(12)
Projects
12
17%
Arbitration
2
0% / 50%
Overdue
1
8%
Free
10
Developer 10
Rating
(6)
Projects
6
0%
Arbitration
0
Overdue
2
33%
Free
11
Developer 11
Rating
(18)
Projects
26
0%
Arbitration
4
0% / 100%
Overdue
5
19%
Free
12
Developer 12
Rating
(2652)
Projects
3369
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
13
Developer 13
Rating
(311)
Projects
557
35%
Arbitration
79
32% / 43%
Overdue
202
36%
Working
14
Developer 14
Rating
(10)
Projects
19
42%
Arbitration
6
0% / 50%
Overdue
3
16%
Working
15
Developer 15
Rating
(5)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
0
Free
16
Developer 16
Rating
(360)
Projects
432
54%
Arbitration
20
55% / 15%
Overdue
29
7%
Working
17
Developer 17
Rating
(452)
Projects
565
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Working
Published: 6 codes
18
Developer 18
Rating
(1)
Projects
3
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(17)
Projects
23
39%
Arbitration
6
33% / 50%
Overdue
0
Free
20
Developer 20
Rating
(2)
Projects
0
0%
Arbitration
5
0% / 60%
Overdue
0
Free
21
Developer 21
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
22
Developer 22
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
23
Developer 23
Rating
(30)
Projects
37
54%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
24
Developer 24
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
26
Developer 26
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
27
Developer 27
Rating
(2315)
Projects
2914
63%
Arbitration
124
44% / 25%
Overdue
429
15%
Loaded
28
Developer 28
Rating
(4)
Projects
5
20%
Arbitration
2
0% / 100%
Overdue
1
20%
Free
Published: 3 codes
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
(162)
Projects
287
34%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
31
Developer 31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
32
Developer 32
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
33
Developer 33
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
34
Developer 34
Rating
(16)
Projects
18
28%
Arbitration
0
Overdue
3
17%
Free
35
Developer 35
Rating
(5)
Projects
5
60%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
37
Developer 37
Rating
(12)
Projects
16
13%
Arbitration
4
50% / 25%
Overdue
4
25%
Loaded
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
40
Developer 40
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
41
Developer 41
Rating
(40)
Projects
47
28%
Arbitration
14
21% / 64%
Overdue
1
2%
Busy
Similar orders
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
I WANT A TRADING ROBOT WITH GOLD STRATEGY THAT COULD TAKE ME TO 1MILLION$ TODAY,PLEASE KINDLY GENERATE THE BOT, DEBUGG COMPILE AND THEN GIVE ME WHEN EVER YOU ARE READY, ILL BE WAITING THANK YOU
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Trade summary Plugin 200 - 500 USD
We are looking for a Plugin/ Dashboard for our Meta 5 which will act as a Risk Management/ information tool. the system will require to give real time summary of trades and P/L for certain groups
Hi, I am looking for an Quant/MQL5 developer to build a pure mathematical, Delta-Neutral Statistical Arbitrage (spot vs future ) Expert Advisor. ​ No retail indicator logic (No RSI, MACD, etc.). This is a high-speed, spread-based execution model trading the pricing inefficiency between two correlated assets (e.g., Gold Spot XAUUSD vs Gold Futures). ​ Core Requirements at a Glance: ​Real-time Spread & Z-Score

Project information

Budget
150+ USD
Deadline
to 2 day(s)