Project specifications
- Market
- XAUUSD
- TF
- M5
- Platform
- MT5
- Client type
- Prop trader
- Delivery window
- 5 weeks
- Stack
- MQL5, gold M1 data, halt logs
- Strategy
- Breaker on the day's starting equity
- Modules
- Position close + halt until next day
- Testing
- High-volatility day testing
Who this was for
Yaser Abdi
- Role
- Challenge-account trader
- City
- Mashhad
- Project reference
- TBT-1407-26
The client's idea
Yaser Abdi works XAUUSD on M5; the opening brief was: The moment the day's loss hits my limit, trading for that day is over.
Initial challenge
On volatile days the client kept re-entering and blew past the daily loss limit they had set for themselves.
Solution
The day's opening equity is recorded, positions close at the limit, and no new entry is allowed until the next trading day — all logged.
Why this design
The limit is measured from the day's opening equity so mid-day deposits or withdrawals cannot skew it. It matches how XAUUSD is actually traded and can be tested against the data already available.
Safeguards and risk control
The risk layer sits outside the strategy logic, so a later change to the signal cannot bypass it.
Our next-step proposal
The next step is a monthly compliance report that proves the account rules were respected.
Portfolio
Measured results
These are the figures the test produced — not a promise about future performance.
- 3.1 % Max drawdown in test
- 100 % Runtime stability in test
- 1 day Recovery after drawdown
- 20 scenarios Scenario test coverage
Portfolio
How the delivery ran
Every project moves through these five phases, with the window for each agreed in the specification.
-
Discovery and problem framing
CompletedReading the client's risk rules and measuring how the account currently behaves on XAUUSD.
Day 1–2
-
Written specification
CompletedTurning the rules into numeric caps: risk per trade, daily loss and exposure ceiling.
Day 3–7
-
Implementation
CompletedBuilding a risk layer independent of the signal, with each cap testable on its own.
Day 8–19
-
Testing and validation
CompletedTesting the critical scenarios: fast drawdown, simultaneous positions and a dropped connection.
Day 20–27
-
Handover and support
CompletedHandover of the risk layer with a rules document and the emergency-stop path.
Day 28–31