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%
Working
Published: 1 article, 6 codes
6
Developer 6
Rating
(171)
Projects
183
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Loaded
7
Developer 7
Rating
(43)
Projects
63
24%
Arbitration
10
30% / 50%
Overdue
10
16%
Free
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
(20)
Projects
29
3%
Arbitration
4
0% / 100%
Overdue
5
17%
Free
12
Developer 12
Rating
(2674)
Projects
3412
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
13
Developer 13
Rating
(319)
Projects
566
35%
Arbitration
82
30% / 45%
Overdue
204
36%
Working
14
Developer 14
Rating
(13)
Projects
22
41%
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
(366)
Projects
447
55%
Arbitration
23
57% / 17%
Overdue
30
7%
Working
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
(2343)
Projects
2948
63%
Arbitration
124
44% / 26%
Overdue
429
15%
Working
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
(3)
Projects
3
100%
Arbitration
0
Overdue
0
Working
32
Developer 32
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
33
Developer 33
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
34
Developer 34
Rating
(32)
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
(23)
Projects
31
35%
Arbitration
4
50% / 25%
Overdue
5
16%
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
(51)
Projects
61
38%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
Similar orders
Hi, can you define entry conditions based on 100 or 200 trades? If you need more history, i can give you more trades. It is EURUSD with great results! If you can do it, contact me
Zoumana 30+ USD
I work daily and some time I walk to my work place and I earn small money so I have to try harder to get money to feed my family so for me it is hard
Wise Legend 30 - 500 USD
I want this robot to alert me on a good entry point on the trading flat form ether to buy or to sell. And also alert me when to close the market. And alert me on market continuations
I have an existing MT5 Expert Advisor with the original MQ5 source code. I need an experienced MQL5 developer to review, debug and professionally improve the existing EA, not build an unrelated EA from scratch. The EA is mainly for XAUUSD and already contains entry signals, EMA filters, automatic lot sizing, basket profit management, spread/margin protection, news filtering and recovery logic. The main problem is the
Exact Pine Script Conversion: The EA must replicate my Pine Script exactly — including Support/Resistance, Liquidity Grab/Sweep, 30 EMA, Entry, SL, TP, Partial Booking and Breakeven . No assumptions or changes to the logic. Accurate Entries: The EA must enter exactly according to the Pine Script conditions, including the correct candle and price level after the Support/Resistance or Liquidity Sweep setup. SL & TP: SL
I buy EA for USDEUR or XAUUSD for FTMO with proven backtest. Send me images with backtest reports where daily max dd is 1% on 200k account. I can buy several eas if you have them with proofs. Need images of backtesting for 5 years
I am looking for a programmer that can develop an MT4 indicator that shows COT DATA For Forex, indices and and metals. The indicator must be an oscillator or any other form that would work well in that format. It doesn't need to show all pairs at once, it can show only for current chart. Let's talk
I am looking for an experienced developer to build a cloud-based MT5 trade copier . Requirements: One master MT5 account sends trades to multiple client MT5 accounts. Clients must not need to install an EA or run MT5/VPS themselves . Client accounts should connect using MT5 login, trading password and broker server. Copy market orders, pending orders, SL/TP changes, partial closes and full closes. Support risk/lot
Cerco uno sviluppatore MQL5 esperto per lavorare su un Expert Advisor (EA) XAUUSD per MetaTrader 5 già esistente , versione attuale XAU_V59.mq5 . L'obiettivo è modificare, correggere e sviluppare il codice esistente senza stravolgere la logica già presente , mantenendo le regole ei parametri già definiti, salvo le modifiche espressamente richieste. REQUISITI FONDAMENTALI Il codice deve essere scritto in MQL5 nativo e
Project Title: Modular Session Breakout & Multi-MA EA with Anti-Whipsaw Filters Requirements: Please build an EA where every feature can be individually turned ON/OFF via an independent toggle switch and configured via adjustable parameters. The EA should function as an efficient "Entry Engine" that works in tandem with external risk managers (e.g., KT Equity Protector). 1. Global Settings Master Switch: Global

Project information

Budget
150+ USD
Deadline
to 2 day(s)