指定
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 execute a very high number of trades per day, provided that market conditions and spread allow it.
The objective is not to wait for only a few perfect setups per day. I want the strategy to actively search for frequent short-term scalping opportunities on XAUUSD M1.
The preferred trading style is:
-
High number of trades per day
-
Short trade duration
-
Small profit targets
-
Fast entry and exit
-
Repeated exploitation of small price movements
For a starting balance of approximately $1,000, the typical target profit per successful trade should be relatively small, for example approximately:
$1–$3 net profit per trade
depending on lot size, spread, volatility and current market conditions.
The profit target should be configurable and may also be dynamic rather than fixed.
The EA should be capable of taking multiple trading opportunities during the same market session and should not have unnecessary restrictions that reduce trading frequency.
However, the high trading frequency must not come at the cost of uncontrolled risk. The EA should still respect:
-
Maximum spread
-
Maximum drawdown
-
Maximum open positions
-
Daily loss limit
-
Recovery limits
-
Market volatility conditions
The goal is to create a high-frequency M1 scalping approach with many relatively small winning trades, rather than relying on a small number of large-profit trades.
Main Strategy
The primary trading logic should be based on:
-
EMA 9
-
RSI
-
Price action / candle confirmation if necessary
-
Spread control
-
Volatility control
-
Market condition / trend detection
EMA9 and RSI should be the core indicators, but I am open to additional confirmations if they improve the strategy significantly.
The developer may also use free indicators available from the official MQL5 Market, provided they can be legally integrated into the EA and improve the trading results.
BUY / SELL Trading
The EA must be able to trade effectively in both directions:
-
BUY positions
-
SELL positions
I do not want a system optimized only for bullish or bearish market conditions.
The target is approximately:
75%+ Win Rate for BUY trades
and
75%+ Win Rate for SELL trades
This should be treated as a development/optimization target and must be verified with proper historical backtesting and preferably forward testing. I understand that no developer can guarantee a fixed future win rate or profitability.
Losing Position Recovery / Hedging System
One of the most important parts of the project is an intelligent recovery system.
When a trade moves significantly into loss, the EA should have the possibility to open a hedging/recovery position.
Examples:
-
Hedge XAUUSD BUY with XAUUSD SELL
-
Hedge XAUUSD SELL with XAUUSD BUY
-
Optionally use another correlated or negatively correlated instrument if testing proves that this improves recovery
The purpose of the hedge is not simply to double the position size.
The EA should calculate the combined floating P/L of the original trade and recovery trades.
The objective should be to manage the complete basket until the combined result reaches approximately:
Break Even (BE)
or preferably:
BE + small profit
Then the EA should close the complete recovery basket.
The recovery system should therefore work dynamically and calculate:
-
current basket loss,
-
required recovery profit,
-
hedge position size,
-
average entry price,
-
total floating P/L,
-
commissions,
-
swap,
-
spread,
-
break-even level.
I would prefer an intelligent hedge/recovery algorithm rather than a simple unlimited Martingale system.
There must be protection against excessive recovery positions and uncontrolled drawdown.
Trailing Stop
The EA must include configurable trailing functionality.
Required options:
-
Trailing Start
-
Trailing Distance
-
Trailing Step
-
Break Even
-
Break Even + profit
-
Optional ATR-based dynamic trailing stop
Example logic:
When a trade reaches a certain profit, the EA should move SL to BE and then start protecting progressively more profit as the price continues moving in the profitable direction.
Risk Management
Initial account deposit:
$1,000
The EA should include:
-
Fixed Lot mode
-
Risk % mode
-
Maximum lot size
-
Maximum number of simultaneous positions
-
Maximum number of recovery positions
-
Maximum daily loss
-
Maximum account drawdown
-
Maximum floating drawdown
-
Daily profit target
-
Emergency Close All
-
Stop Trading after reaching predefined loss
-
Stop Trading after reaching predefined profit
The strategy must be suitable for a relatively small starting account of approximately $1,000.
Capital protection is very important.
XAUUSD Scalping Filters
Because the EA will trade XAUUSD M1, I would also like configurable filters such as:
-
Maximum Spread
-
Minimum volatility
-
Maximum volatility
-
ATR filter
-
Trading hours
-
London session
-
New York session
-
Asian session
-
Friday trading filter
-
News filter if possible
-
Minimum time between trades
-
Maximum trades per minute
-
Maximum trades per day
Market Condition Detection
The EA should ideally detect whether the market is:
-
Trending upward
-
Trending downward
-
Ranging
-
Highly volatile
-
Low volatility
-
Experiencing abnormal spread
Depending on the detected market condition, the EA should be able to slightly modify its entry requirements.
I do not want the EA to blindly open trades only because RSI reaches a specific value.
Example Entry Concept
An example BUY setup could use:
-
Price above EMA9
-
EMA9 pointing upward
-
RSI confirms bullish momentum
-
Candle / price action confirmation
-
Acceptable spread
-
Acceptable volatility
Example SELL setup:
-
Price below EMA9
-
EMA9 pointing downward
-
RSI confirms bearish momentum
-
Candle / price action confirmation
-
Acceptable spread
-
Acceptable volatility
However, I am open to modifications if the developer can demonstrate a better-performing EMA9 + RSI scalping logic.
EA Information Panel
I would like an on-chart dashboard showing:
-
Current spread
-
Current RSI
-
EMA9 direction
-
Current market condition
-
BUY signal strength
-
SELL signal strength
-
Open BUY positions
-
Open SELL positions
-
Current floating P/L
-
Recovery / Hedge status
-
Current drawdown
-
Daily profit/loss
-
Number of trades today
-
Win rate BUY
-
Win rate SELL
-
Total win rate
Backtesting
The EA should be properly tested using MT5 Strategy Tester with:
Every tick based on real ticks
The developer should provide backtests for XAUUSD M1.
I would like results covering different market conditions, not only one selected profitable month.
Ideally:
-
minimum 1 year test,
-
preferably several years,
-
separate BUY statistics,
-
separate SELL statistics.
Important statistics:
-
Total Trades
-
Win Rate
-
BUY Win Rate
-
SELL Win Rate
-
Profit Factor
-
Expected Payoff
-
Maximum Drawdown
-
Relative Drawdown
-
Recovery Factor
-
Average winning trade
-
Average losing trade
-
Maximum consecutive losses
The strategy should not be artificially over-optimized only to historical data.
Optimization
All important parameters should be available as EA Inputs so I can later optimize them myself.
I would also like several .set files, for example:
SAFE
-
lower risk
-
lower drawdown
BALANCED
-
balanced risk/profit
AGGRESSIVE
-
higher trading frequency
-
higher acceptable risk
SCALPING / HIGH FREQUENCY
-
more frequent XAUUSD M1 entries
Source Code
I require:
-
Full .mq5 source code
-
Compiled .ex5
-
No hidden DLL dependency unless agreed beforehand
-
Clean and understandable code
-
Comments describing important parts of the strategy
-
No account lock
-
No broker lock
-
No expiration date unless specifically agreed
The final EA should compile with 0 errors and preferably 0 warnings.
Most Important Objective
I am not looking for an EA that simply produces a beautiful historical equity curve through extreme optimization.
I am looking for a serious XAUUSD M1 scalping system with:
-
frequent trades,
-
strong BUY and SELL logic,
-
approximately 75%+ target win rate,
-
controlled drawdown,
-
intelligent hedging/recovery,
-
basket break-even recovery,
-
trailing profit protection,
-
realistic spread and commission assumptions,
-
protection of a $1,000 account,
-
and good performance during forward testing.
Please contact me only if you have real experience creating MQL5 scalping EAs, preferably for XAUUSD.
When applying, please provide examples of previous MT5 trading robots, backtests or verified results if available.