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

Termos de Referência

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.

Respondido

1
Desenvolvedor 1
Classificação
(611)
Projetos
713
33%
Arbitragem
45
49% / 42%
Expirado
14
2%
Ocupado
2
Desenvolvedor 2
Classificação
(109)
Projetos
180
25%
Arbitragem
24
17% / 75%
Expirado
16
9%
Livre
3
Desenvolvedor 3
Classificação
(1)
Projetos
2
0%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(434)
Projetos
640
53%
Arbitragem
34
62% / 21%
Expirado
6
1%
Trabalhando
5
Desenvolvedor 5
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
6
Desenvolvedor 6
Classificação
(392)
Projetos
506
23%
Arbitragem
60
57% / 25%
Expirado
59
12%
Livre
7
Desenvolvedor 7
Classificação
(318)
Projetos
565
35%
Arbitragem
81
31% / 44%
Expirado
204
36%
Trabalhando
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(3)
Projetos
4
25%
Arbitragem
0
Expirado
0
Carregado
Publicou: 1 código
11
Desenvolvedor 11
Classificação
(2)
Projetos
6
67%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(851)
Projetos
1461
72%
Arbitragem
122
29% / 48%
Expirado
356
24%
Trabalhando
Publicou: 3 artigos
13
Desenvolvedor 13
Classificação
(203)
Projetos
264
22%
Arbitragem
24
50% / 17%
Expirado
0
Trabalhando
Pedidos semelhantes
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
We are looking for an expert algorithmic trading developer to build a high-performance, fully automated Custom Expert Advisor (EA) or trading bot. The bot must integrate advanced Smart Money Concepts (SMC) , Inner Circle Trader (ICT) methodologies, and Volume Spread Analysis (VSA) with a high-frequency trading (HFT) style execution and scaling model. The core objective is to program a bot that identifies
Mamba EA Scalper 30 - 40 USD
Hi, i need a aggressive mobile trading bot which supports both IOS and Android versions, the bot will use stochastic oscillator indicator %K period:15 , while % D period:9 and slowing :9 ,price field should be Low/High while it's method should be simple , Levels: 20,80 and time frames: all . The styles should have a main line which should be green and signal line which should be red . The bot should be able to trade
Hi, I am looking for a profitable bot which can make 20 dollars a day. Requirements : Lifetime license, bug fix support lifetime, lot size adjustment, lost (dolalrs) adjustment. If anyone having such bot to sell please let me know
I need an MT5 Expert Advisor based on my A+ ICT/SMC Institutional Anticipation Framework. The EA must use a strict multi-timeframe hierarchy: Daily = Liquidity Map ONLY: Identify BSL/SSL, swept/unswept liquidity, equal highs/lows, major OBs, FVGs and institutional POIs. H4 = Institutional Direction: H4 determines the ONLY bias (BUY or SELL) using structure, BOS/CHoCH, OB, FVG and Premium/Discount. Lower timeframes
a one min scalper which will scalp on a one minute timeframe and can trade a low account to a big one and is more effective in mt4 and mt5 for a very short period of time yeah
Automatic buy and sell entries. stoploss (sl) take profit (tp) risk management and adjustable lot size. Adjustable risk percentage per trade. Trailing stop maximum number of open trades. Trading hours filter. Ability to backtest and optimize the strategy. Easy to use settings. The EA should work reliably on mt5 and provide the source code. I want the developer to test the EA and provide backtest results before
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
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
WillyFX 30+ USD
need an MT5 Expert Advisor designed for educational and demo-account testing. The robot should identify trading opportunities using clear technical rules, manage entries and exits automatically, include stop-loss and take-profit controls, limit risk per trade, avoid excessive trading, and provide adjustable settings for backtesting and optimization

Informações sobre o projeto

Orçamento
30 - 50 USD