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
(13)
Projects
16
6%
Arbitration
8
38% / 38%
Overdue
2
13%
Loaded
5
Developer 5
Rating
(294)
Projects
469
39%
Arbitration
100
41% / 23%
Overdue
77
16%
Loaded
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
17
24% / 59%
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
(13)
Projects
19
32%
Arbitration
6
33% / 50%
Overdue
0
Free
Similar orders
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
MT5 30 - 50 USD
I'm looking for an experienced MQL5 developer to help with backtesting, optimization, and VPS setup for a prop firm EA on XAUUSD (Gold). Scope of work - Backtest and optimize using high-quality tick data from Dukascopy or Polygon (2020–2025) - Perform Monte Carlo and Walk-Forward testing to optimize parameters like ATR multipliers and risk % - VPS installation and configuration for continuous MT5 operation - Apply
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
I want to create an SMC bot base on ICT and Market structure,the bot must be able to keep adding on more positions while started.The bot must have a perfect risk management
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4‑year backtest (2022‑2025) report, equity curve, trade list, strategy description, and 1‑month demo access. Please without concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you

Project information

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