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
(16)
Projects
20
10%
Arbitration
8
38% / 38%
Overdue
3
15%
Working
5
Developer 5
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
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
(162)
Projects
287
34%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
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
Project Overview ​I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. ​The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
Am looking for an well experienced developer or team to build a basic forex trading automation system connected to MetaTrader (MT4/MT5). The system should allow users to connect their trading accounts and execute trades automatically based on predefined signals or a master trading account. Experience with MetaTrader APIs, trade copying systems, and forex automation is preferred. NOTE: Kindly apply if you have done
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe
Hi Programmers, I want to create an EA that will make use of the average prices to determine the direction of the market and take bids accurately towards the direction until it reaches the maximum distance for taking bids. It will also consider a profit to loss ratio which will be based on risk as a % of the account balance. As you can see from the picture and the prices showed , the prices represent the manually

Project information

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