Develop Gold (XAUUSD) MQL5 Trend-Following EA with Supply & Demand Strategy

Şartname

PROJECT: GOLD (XAUUSD) TREND-FOLLOWING SUPPLY & DEMAND EXPERT ADVISOR
PLATFORM: MetaTrader 5
PROGRAMMING LANGUAGE: MQL5
TRADING INSTRUMENT: XAUUSD / Gold Spot ONLY
OBJECTIVE:
Develop a fully automated XAUUSD trading Expert Advisor based on higher-timeframe market structure, supply and demand zones, H1 21/55 EMA trend confirmation, and M15 entry confirmation.
MARKET PHASE:
The EA must analyze H1, H4 and D1 market structure.
UPTREND:
Higher Highs (HH) and Higher Lows (HL).
DOWNTREND:
Lower Lows (LL) and Lower Highs (LH).
RANGE:
No clear HH/HL or LL/LH structure.
The EA must NOT open new trades when the market is classified as ranging or when the trend structure is unclear.
SUPPLY & DEMAND:
The EA must automatically identify valid supply and demand zones on H1, H4 and D1.
Zones must be treated as PRICE AREAS/RANGES, not single horizontal lines.
A valid zone should be based on:
- Clear historical reaction
- Meaningful displacement away from the area
- Previous respect/retest
- Clearly defined upper and lower boundaries
The developer must create objective programming rules for zone formation, strength, retests and invalidation and discuss these rules before implementation.
H1 EMA FILTER:
21 EMA and 55 EMA.
BUY:
H1 21 EMA must be above H1 55 EMA.
SELL:
H1 21 EMA must be below H1 55 EMA.
BUY ENTRY:
1. Higher-timeframe XAUUSD structure indicates an uptrend.
2. H1 21 EMA is above H1 55 EMA.
3. Price reaches a valid demand zone on H1, H4 or D1.
4. Wait for the first COMPLETED bullish M15 candle formed at or within the demand zone.
5. Enter BUY at the close of that M15 confirmation candle.
6. Do not enter while the M15 candle is still forming.
BUY STOP LOSS:
Default = 100 pips below the OPEN price of the first bullish M15 confirmation candle.
The demand-zone boundary must also be considered when determining the final stop-loss location.
BUY BREAKEVEN:
Move the stop-loss to the original entry price when the trade reaches +100 pips profit.
Once breakeven is reached, the stop-loss must never be moved backward.
BUY EXIT:
Close the BUY position when EITHER:
1. XAUUSD reaches/enters a valid supply zone
OR
2. H1 21 EMA crosses below the H1 55 EMA.
SELL ENTRY:
1. Higher-timeframe XAUUSD structure indicates a downtrend.
2. H1 21 EMA is below H1 55 EMA.
3. Price reaches a valid supply zone on H1, H4 or D1.
4. Wait for the first COMPLETED bearish M15 candle formed at or within the supply zone.
5. Enter SELL at the close of that M15 confirmation candle.
6. Do not enter while the M15 candle is still forming.
SELL STOP LOSS:
Default = 100 pips above the OPEN price of the first bearish M15 confirmation candle.
The supply-zone boundary must also be considered when determining the final stop-loss location.
SELL BREAKEVEN:
Move the stop-loss to the original entry price when the trade reaches +100 pips profit.
Once breakeven is reached, the stop-loss must never be moved backward.
SELL EXIT:
Close the SELL position when EITHER:
1. XAUUSD reaches/enters a valid demand zone
OR
2. H1 21 EMA crosses above the H1 55 EMA.
RISK MANAGEMENT:
Default risk per trade = 5% of account equity.
Risk percentage MUST be adjustable through EA settings.
The EA must automatically calculate lot size based on:
- Account equity
- Risk percentage
- Stop-loss distance
- XAUUSD tick value
- XAUUSD tick size
- Contract size where applicable
- Broker minimum volume
- Broker maximum volume
- Broker volume step
The EA must NOT use a fixed lot size.
XAUUSD CALCULATIONS:
The EA must use the actual XAUUSD symbol specifications supplied by the broker.
Do NOT use hard-coded Forex assumptions for pip size, tick size, tick value, contract size or volume.
The 100-pip stop-loss and 100-pip breakeven distances must be correctly converted according to the broker's XAUUSD specifications.
TRADE PROTECTION:
- XAUUSD ONLY.
- No duplicate entries from the same signal.
- No multiple entries from the same M15 confirmation candle.
- No entry from an invalid supply/demand zone.
- No new trades during ranging conditions.
- No entry without the required EMA/trend confirmation.
- Respect broker minimum/maximum/step volume.
- Never move stop-loss backward after breakeven.
- Use a unique Magic Number.
- Handle spread, execution errors and trading-session restrictions safely.
EA INPUTS:
RiskPercent = 5.0
FastEMA = 21
SlowEMA = 55
ConfirmationTimeframe = M15
BuyStopLossPips = 100
SellStopLossPips = 100
BuyBreakevenPips = 100
SellBreakevenPips = 100
UseSupplyDemandExit = true
UseEMAExit = true
AllowBuyTrades = true
AllowSellTrades = true
XAUUSDOnly = true
MagicNumber = adjustable
VISUAL FEATURES:
The EA should optionally display:
- Supply zones
- Demand zones
- 21 EMA
- 55 EMA
- Buy/sell entries
- Stop-loss
- Breakeven status
- Current market phase
- Zone timeframe/source
BACKTESTING:
The EA must be tested specifically on XAUUSD using the MT5 Strategy Tester.
Testing must include:
- Trending markets
- Ranging markets
- Reversals
- High-volatility Gold periods
- Supply/demand detection
- M15 confirmation
- Position sizing
- 100-pip stop-loss
- 100-pip breakeven
- Supply/demand exits
- EMA exits
- Duplicate-entry prevention
Provide backtest results including:
- Net profit
- Profit factor
- Maximum drawdown
- Win rate
- Number of trades
DEVELOPMENT REQUIREMENT:
Subjective concepts such as "valid zone", "bounce", "strong reaction", "higher high", "higher low", "lower high", "lower low", "displacement" and "zone break" must be converted into objective, measurable programming rules.
The developer MUST explain the proposed supply/demand detection algorithm and obtain approval before implementing it.
The developer must NOT replace this strategy with a generic EMA crossover or generic supply/demand strategy.
DELIVERABLES:
1. Fully functional .mq5 source code.
2. Compiled .ex5 file.
3. No compilation errors or warnings.
4. XAUUSD Strategy Tester verification.
5. Explanation of the supply/demand detection algorithm.
6. Explanation of all EA inputs.
7. Backtest report.
8. Installation/use instructions.
9. Confirmation that the EA is restricted to XAUUSD.

IMPORTANT:
The attached Gold/XAUUSD TradingView chart is a visual reference for how I identify supply and demand areas. The orange areas represent ZONES/RANGES, not single price levels. The developer must use the chart as a reference for the methodology and must NOT hard-code the displayed price levels.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(611)
Projeler
713
33%
Arabuluculuk
45
49% / 42%
Süresi dolmuş
14
2%
Meşgul
2
Geliştirici 2
Derecelendirme
(109)
Projeler
180
25%
Arabuluculuk
24
17% / 75%
Süresi dolmuş
16
9%
Serbest
3
Geliştirici 3
Derecelendirme
(1)
Projeler
2
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(434)
Projeler
640
53%
Arabuluculuk
34
62% / 21%
Süresi dolmuş
6
1%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
6
Geliştirici 6
Derecelendirme
(392)
Projeler
506
23%
Arabuluculuk
60
57% / 25%
Süresi dolmuş
59
12%
Serbest
7
Geliştirici 7
Derecelendirme
(318)
Projeler
565
35%
Arabuluculuk
81
31% / 44%
Süresi dolmuş
204
36%
Çalışıyor
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
(3)
Projeler
4
25%
Arabuluculuk
0
Süresi dolmuş
0
Yüklendi
Yayınlandı: 1 kod
11
Geliştirici 11
Derecelendirme
(2)
Projeler
6
67%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(851)
Projeler
1461
72%
Arabuluculuk
122
29% / 48%
Süresi dolmuş
356
24%
Çalışıyor
Yayınlandı: 3 makale
13
Geliştirici 13
Derecelendirme
(203)
Projeler
264
22%
Arabuluculuk
24
50% / 17%
Süresi dolmuş
0
Çalışıyor
Benzer siparişler
I am looking for an experienced MQL5 / MetaTrader 5 developer to create a professional and highly optimized XAUUSD M1 scalping Expert Advisor . The EA should be designed specifically for Gold (XAUUSD) on the M1 timeframe , with the main objective of producing frequent, high-quality BUY and SELL trades while maintaining controlled drawdown. High Trading Frequency / Small Profit Scalping The EA should be designed to
I am looking to see if you can convert my pinescript into a NinjaTrader bot so I can get automated trading instead of manually doing it in TradingView i would like to get it to just do the trades for me based on my script. let me know who can do this perfectly
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;

Proje bilgisi

Bütçe
30 - 50 USD