Objective:
Develop a MetaTrader 5 (MT5) Expert Advisor (EA) that specializes in scalping XAUUSD with the goal of achieving very high monthly returns (50–70%) under strict risk control parameters.
Trading Instrument: XAUUSD only.
Strategy Type: Scalping (high-frequency short trades).
Target Monthly Return: 50% to 70% (under optimal conditions).
Risk Management:
Max allowable drawdown: 15% or less.
Strict and consistent risk control must be embedded into the EA.
Main Priority:
Maximize safe, consistent, scalable profit over time, without exposing the account to catastrophic risks.
Trading Logic:
Developer is free to design the scalping strategy based on their expertise and proven techniques.
Developer can combine technical indicators, price action methods, order flow, or any hybrid approach.
Entry and Exit Rules:
Developer decides the optimal timing for entries and exits.
Risk Controls:
Developer chooses the best risk management techniques suitable for scalping.
Trades must aim for small, consistent profits.
Expected average holding time: few seconds to a few minutes.
Prefer trading during high liquidity periods.
Fixed Risk Per Trade:
Risk a small % of the account per trade (suggested 0.5% or developer’s recommended value).
Stop Loss Required:
Every trade must have a clearly defined stop loss, tight but dynamic if needed.
Maximum Daily Loss Protection:
Bot must stop trading for the day if:
A set number of consecutive losses is hit (e.g., 3–5 losses).
Or a fixed percentage daily loss limit is reached (e.g., 5%).
Scalping-style small take profits.
Use of partial closes, trailing stops, or other smart techniques to maximize winning trades is allowed.
Hard maximum trade duration (e.g., force close trades after 5 minutes if not already closed).
Bot should only trade during favorable trading hours, preferably:
London session (03:00 – 06:00 EST)
Early New York session (08:00 – 11:00 EST)
No trading during major high-impact news releases unless logic accounts for it.
Dynamic lot size based on account balance and pre-defined risk % per trade.
As the account grows, lot sizes should adjust proportionally.
Minimum spread condition:
Only enter trades if spread is below a specified limit (e.g., 2.5 pips or lower).
Show:
Balance
Equity
Daily Profit/Loss
Total Trades Today
Wins and Losses Today
Status of Open Trades
Session Active or Not
Sound alerts when:
A trade is opened.
A trade is closed.
Optional mobile push notifications for trade closures.
Adjustable parameters:
Risk per trade (%)
Maximum daily loss limit (%)
Maximum daily wins/losses
Trading hours
Take profit (pips)
Stop loss (pips)
Spread filter
Platform: MetaTrader 5 (MQL5).
Code must be lightweight, optimized, and fast for low-latency execution.
Error Handling:
Handle connection losses, order errors, and invalid symbol issues safely.
No external DLLs unless absolutely necessary.
Provide:
Live version (for real trading).
Backtest version (with adjustable parameters for optimization).
| Metric | Target |
|---|---|
| Monthly Return Goal | 50% to 70% |
| Max Drawdown | Under 15% |
| Win Rate Target | 70%+ |
| Trade Frequency | Multiple trades per day |
Focus on stability first, then aggressiveness within controlled risk.
I am looking for scalable consistent profits.
Strategy should be tested in both backtests and live demo environment before final delivery.