Expert Advisor (EA) for XAUUSD (Gold) Trading

Job finished

Execution time 101 days

Specification

Expert Advisor (EA) for XAUUSD (Gold) Trading

Platform: MetaTrader 5 (MT5)
Symbol: XAUUSD (Gold)
Type: Fully automated trading system

Core Trading Logic

The EA should execute trades based on a multi-strategy approach, ensuring a high probability of success. It must incorporate:
Trend Confirmation on Higher Timeframes – Uses H4, Daily, or Weekly charts to confirm the trend before executing trades on lower timeframes (M5, M15, or M30).
Risk-Reward Optimization – Every trade should risk 5% of the account balance with a minimum 1:2 risk-reward ratio (i.e., 10% potential reward).
Stop-Loss Protection – All trades must be secured with a stop loss to prevent large drawdowns.
No Risky Strategies – Martingale, Grid, Averaging, and similar high-risk strategies are NOT allowed.
Multiple Strategies Combined – The EA should use a mix of the following strategies:

  • Moving Average Crossovers for trend identification
  • Price Action & Breakout Trading (support/resistance, candlestick patterns)
  • Momentum Indicators (RSI, MACD, or ADX for strength confirmation)
  • ATR-based Volatility Filter to avoid low-volatility conditions

Risk & Money Management

Fixed or Dynamic Lot Sizing – The EA should allow selecting between a fixed lot size or dynamic lot size based on account balance.
Risk Per Trade – The EA must calculate lot size dynamically to ensure that only 5% of the balance is at risk per trade.
Trailing Stop Feature – Once in profit, a trailing stop should be used to maximize gains.
Break-even Mechanism – The EA should secure partial profits by moving the stop loss to break even when the trade reaches a certain percentage of the target.

Trading Timeframes & Flexibility

Higher Timeframe Confirmation – The EA must allow users to select a higher timeframe (H1, H4, D1) for trend validation before placing trades on lower timeframes.
Lower Timeframe Execution – Trades should be executed based on signals from M5, M15, or M30, with a confirmation filter from the higher timeframe.
User-Controlled Parameters – Users should be able to choose which timeframes to use for confirmation and execution.

News Filter Integration

✅ The EA must include a news filter to avoid trading before and during high-impact news events.
✅ It should pull real-time news from an economic calendar (e.g., Forex Factory, Investing.com, or MQL5 news API).
✅ Adjustable settings for news impact level (High, Medium, Low) and minutes before & after news events to pause trading.

Adjustable Parameters (Input Settings)

The EA must include the following customizable settings:
🔹 Number of Trades: Limit the maximum open trades at a time.
🔹 Risk-Reward Ratio: Adjustable (Default: 1:2).
🔹 Dynamic or Fixed Lot: Option to choose between dynamic lot sizing or a fixed lot.
🔹 Lot Size: Customizable fixed lot size when not using dynamic lots.
🔹 Timeframe Selection: Choose higher and lower timeframes for analysis and execution.
🔹 Stop Loss & Take Profit: User-defined stop loss & take profit (or automatic based on ATR).
🔹 Trailing Stop Settings: Enable/disable and adjust trailing stop parameters.
🔹 Break-even Settings: Define at what percentage of TP the SL moves to break even.
🔹 News Filter Settings: Enable/disable news filter, impact level selection, time buffer before/after news.

Additional Requirements

✅ The EA must be lightweight, efficient, and optimized for execution speed.
✅ It should avoid repainting indicators or lagging strategies that can cause late entries.
✅ It must work with both 4-digit and 5-digit brokers.
✅ It should be compatible with ECN and standard accounts.
✅ The code should be well-documented and modular for future updates.


Responded

1
Developer 1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(5)
Projects
8
13%
Arbitration
3
0% / 33%
Overdue
2
25%
Free
Published: 1 code
3
Developer 3
Rating
(7)
Projects
8
0%
Arbitration
4
0% / 100%
Overdue
3
38%
Free
4
Developer 4
Rating
(15)
Projects
18
6%
Arbitration
8
38% / 38%
Overdue
2
11%
Loaded
5
Developer 5
Rating
(295)
Projects
472
40%
Arbitration
102
40% / 24%
Overdue
78
17%
Busy
Published: 2 codes
6
Developer 6
Rating
(9)
Projects
20
10%
Arbitration
4
50% / 50%
Overdue
5
25%
Free
7
Developer 7
Rating
(159)
Projects
284
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Loaded
8
Developer 8
Rating
(6)
Projects
6
0%
Arbitration
2
50% / 0%
Overdue
1
17%
Free
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(16)
Projects
20
0%
Arbitration
10
0% / 80%
Overdue
6
30%
Free
11
Developer 11
Rating
(17)
Projects
23
39%
Arbitration
6
33% / 50%
Overdue
0
Free
Similar orders
Subject: Upgrade Trading Bot to Professional Dynamic Hedging on Current Candle Hello [Developer Name], I currently have a trading bot that operates with pending orders (Buy Stop and Sell Stop) using Take Profit, Stop Loss, and Trailing Stop. I want to upgrade it to a professional, dynamic hedging system that: Opens trades on the current candle directly, without waiting for future triggers. Manages trades
Trade settings: --------------------------------- fixed lot size ….. 0.0 Buy /Sell distance market order…. 0.0 - 700.0 points Buy / Sell distance pending order Entry---- 0.0 - 700.0 points Max Trade------ 10.0 Min spread...… 0.0 points Max spread..... 3000.0 points Daily profit percentage ….. 0.0 - 100 % Global Stoploss Percentage----- 0.0 - 100 % Max Daily loss Percentage ------0.0 - 100 % Stop level = 0.0 point
Hi , I have some indicators that I want set up on my TV chart and want to create one chart for some and another chart for some others. Plus I want to set up the brackets orders so I can trade from the chart. I have these set up somewhat but need it cleaned up and the way I want them. how much would something like this cost to do? I'm in California and would like you to show me so I can learn to do this when I want to
Apply with a keen sense of responsibility . Copy the code . Both of my expert has sufficient materials . Its a simple winning strategy , therefore please be ahead of time . Code BLUE . Changing The Strategy According to what i think is correct
I would love to see most of my trades going well being in profits! & keep consistent trading without having to blow any accounts be able to identify right trades and have good trading strategy
Yash Agrawal 30+ USD
// Simple EMA Bot input int FastEMA = 9; input int SlowEMA = 21; void OnTick() { double fast = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,0); double slow = iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,0); if(fast > slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_BUY,0.01,Ask,10,0,0); } if(fast < slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_SELL,0.01,Bid,10,0,0); } }
Gold robot Ga1 30 - 200 USD
mport pandas as pd import numpy as np def detecter_tendance(data): # Code pour détecter la tendance pass def identifier_niveaux(data): # Code pour identifier les niveaux de support et de résistance pass def calculer_stop_loss(tendance, support, resistance): # Code pour calculer les stop loss pass def calculer_profils(tendance, support, resistance): # Code pour calculer les profils mport pandas as pd
Martingale Strategy 50 - 70 USD
I need a gambling bot that implements the Martingale Strategy for betting on roulette. It will be used on platforms like Betcity and Unibet to manage bets effectively. Scope of work - Develop a bot that implements the Martingale Strategy for roulette. - Ensure compatibility with Betcity and Unibet platforms. - Include functionalities for adjusting bet size and managing losses. - Integrate platform-specific features
Hello there Hpe you are doing good I am in search of a pine script expert developer who can build strategy in apudFlow in pinescript. Kinldy bid on this project if you can do this
I need a scalping-specific logic MT5 trading bot with a Donchian-channel–based dynamic stop-loss and take-profit system, applies RSI volatility filtering to avoid low-quality setups, and allows asset-specific adjustable parameters for fine-tuning performance Trading details: - Symbol: Any Forex EUR/USD - Platform: MT5 - Strategy type: Scalping (fast trades) - Timeframes: 5sec/ M1 / M5 - Fixed Stop Loss and Take

Project information

Budget
30 - 100 USD
Deadline
from 10 to 14 day(s)