Extracted algorithm research record
Gold Breakout EA for XAUUSD H4
Buys when an H4 bar closes above the 20-bar high in an uptrend, with a 2 ATR stop and a 2R target.
Source & extraction context
Evidence label: backtest_shown (source claim, not independent verification). Recorded completeness: 85.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 markets
- XAUUSD
- Recorded timeframes
- H4
- Recorded sessions
- Not specified
- Recorded regime
- trending
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| 200 EMA | {"period": 200} | close |
Extracted strategy rules
Recorded long-entry rules
- Close of the H4 bar above the highest high of the previous 20 bars, and the bar before it did not close above it
Recorded short-entry rules
- Not specified in the extracted record.
Recorded exit rules
- 2 x ATR(20) below the fill price as stop, 2R above the fill price as target
Recorded filters
- 200 EMA filter
- spread more than 10% of the stop cancels the position
- last 15 minutes before the trading session closes cancels the position
- Stop loss
- 2 x ATR(20) below the fill price
- Take profit
- 2R above the fill price
- Position sizing
- OrderCalcProfit() from the stop distance
Questions about this record
What entry rules are recorded for Gold Breakout EA for XAUUSD H4?
Long: Close of the H4 bar above the highest high of the previous 20 bars, and the bar before it did not close above it Short: Not specified. These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD. Timeframes: H4. These are source-recorded labels, not verified execution behavior.