Extracted algorithm research record
Gold Pullback Trend Follower
A simple trend-following robot for XAUUSD that buys or sells pullbacks on H4 with an ATR trailing stop.
Source & extraction context
Evidence label: backtest_shown (source claim, not independent verification). Recorded completeness: 80.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
- D1, H4
- Recorded sessions
- Not specified
- Recorded regime
- trending
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| EMA | {"period": 50} | close |
| EMA | {"period": 200} | close |
| EMA | {"period": 20} | close |
| ATR | {"period": 14} | close |
Extracted strategy rules
Recorded long-entry rules
- EMA50 > EMA200 and daily close is above EMA50
Recorded short-entry rules
- EMA50 < EMA200 and daily close is below EMA50
Recorded exit rules
- Trailing stop at the highest high since entry minus 3 x ATR(14) (mirror for shorts)
Recorded filters
- skip entry if spread > 0.1 x ATR
- use minimum lot if risk-based lot is too small
- Stop loss
- below the last 5 H4 lows (above the highs for shorts), at least 1 x ATR(14)
- Take profit
- null
- Position sizing
- risk % of balance divided by the stop distance
Questions about this record
What entry rules are recorded for Gold Pullback Trend Follower?
Long: EMA50 > EMA200 and daily close is above EMA50 Short: EMA50 < EMA200 and daily close is below EMA50 These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD. Timeframes: D1, H4. These are source-recorded labels, not verified execution behavior.