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
(274)
Projects
403
28%
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
(62)
Projects
90
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
(510)
Projects
977
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Free
Published: 1 article, 6 codes
6
Developer 6
Rating
(169)
Projects
179
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
7
Developer 7
Rating
(43)
Projects
62
23%
Arbitration
9
22% / 56%
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
(7)
Projects
7
0%
Arbitration
0
Overdue
2
29%
Free
11
Developer 11
Rating
(19)
Projects
27
0%
Arbitration
4
0% / 100%
Overdue
5
19%
Working
12
Developer 12
Rating
(2671)
Projects
3404
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
13
Developer 13
Rating
(317)
Projects
564
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Free
14
Developer 14
Rating
(12)
Projects
21
43%
Arbitration
8
0% / 50%
Overdue
3
14%
Free
15
Developer 15
Rating
(5)
Projects
4
25%
Arbitration
1
0% / 100%
Overdue
0
Free
16
Developer 16
Rating
(365)
Projects
439
54%
Arbitration
22
50% / 14%
Overdue
30
7%
Loaded
17
Developer 17
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
18
Developer 18
Rating
(1)
Projects
3
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(20)
Projects
26
38%
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
(31)
Projects
38
53%
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
(2330)
Projects
2934
63%
Arbitration
124
44% / 26%
Overdue
429
15%
Free
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
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
31
Developer 31
Rating
(2)
Projects
2
100%
Arbitration
0
Overdue
0
Working
32
Developer 32
Rating
(77)
Projects
244
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
33
Developer 33
Rating
(298)
Projects
477
40%
Arbitration
105
40% / 24%
Overdue
81
17%
Loaded
Published: 2 codes
34
Developer 34
Rating
(31)
Projects
33
42%
Arbitration
0
Overdue
3
9%
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
(21)
Projects
28
32%
Arbitration
4
50% / 25%
Overdue
4
14%
Working
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
(48)
Projects
57
35%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
Similar orders
Brotus AI 32+ USD
And let's talk about Linux and more about those technologies, ideas, those AI ideas.Let's make an AI technology summit for us base on wgat i wanna build and their example pictures of roadmapBoss can we take those idea all we've talked about base on technology, tech, UI...J.A.R.V.I.S...eDEX-UI into reality (solution) using laptop cause I think it give accces to build app amd more
Hello, I'm interested in a quote to convert my manual trading strategy into an automated strategy for NinjaTrader. Please note, I would like the quote based on the work and not my available budget; therefore, I entered $5 for the budget. Additionally, I would appreciate knowing how long it would take to build/test. I would prefer to have it sooner rather than later but selected 7 days not knowing how long it takes to
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Project goal: To code several items for Ninja Trader, ranging from simple to more complex tasks, with potential for ongoing collaboration. Scope of work: - Develop code for specific items in Ninja Trader. - Implement minor functionalities like a line at a time level. - Address more complex coding needs as they arise

Project information

Budget
150+ USD
Deadline
to 2 day(s)