Extracted algorithm research record
Gold Donchian Breakout
A free MT5 EA for XAUUSD using Donchian channel breakouts with H4 EMA, ADX, and tick-volume filters.
Source & extraction context
Evidence label: backtest_shown (source claim, not independent verification). Recorded completeness: 50.0/100. Neither is a performance result.
Names identify source records. Inclusion is not an endorsement or a claim of authorship, ownership or reuse permission. Check the source license before reusing any implementation.
Extraction warnings
No automated warnings are recorded in this snapshot. This does not establish that the extraction or system is sound.
Recorded market & execution profile
- Recorded timeframes
- M5
- Recorded sessions
- Not specified
- Recorded regime
- any
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| Donchian Channel | {"period": 20} | close |
| H4 EMA | {"period": null} | close |
| ADX | {"period": null} | close |
| ATR | {"period": null} | close |
Extracted strategy rules
Recorded long-entry rules
- M5 candle closes above Donchian channel upper band
- H4 EMA direction and distance conditions met
- Tick-volume confirmation
Recorded short-entry rules
- M5 candle closes below Donchian channel lower band
- H4 EMA direction and distance conditions met
- Tick-volume confirmation
Recorded exit rules
- Stop loss uses H4 ATR with price-percentage bounds
- Take profit is a multiple of initial stop distance, default 1R
- At +0.5R, EA attempts to move the stop to break-even when trading conditions permit
Recorded filters
- Oversized candles
- Extended breakouts
- MaxSpread in GOLD price dollars
- FridayCloseHour uses broker server time
- MaxSymbolPositions counts manual and other-EA positions on the same symbol
- Use a unique MagicNumber for each EA/chart
- Stop loss
- H4 ATR with price-percentage bounds
- Take profit
- Multiple of initial stop distance, default 1R
- Position sizing
- Default MaxLot is 0.01; account capital, contract size and minimum volume must be considered together
Questions about this record
What entry rules are recorded for Gold Donchian Breakout?
Long: M5 candle closes above Donchian channel upper band H4 EMA direction and distance conditions met Tick-volume confirmation Short: M5 candle closes below Donchian channel lower band H4 EMA direction and distance conditions met Tick-volume confirmation These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD, XAUUSDm, XAUUSDc, GOLD#. Timeframes: M5. These are source-recorded labels, not verified execution behavior.