Extracted algorithm research record
Gold Reversion Guard
A MetaTrader 5 Expert Advisor for trading gold (XAUUSD) based on mean reversion in a quiet market.
Source & extraction context
Evidence label: source_code (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
Opacity warnings
- UNDEFINED ENTRY TERM: the entry conditions are prose naming a concept with no numeric definition, so two readers would implement them differently. Advisory only -- this does not affect the score.
Recorded market & execution profile
- Recorded markets
- XAUUSD
- Recorded timeframes
- M5
- Recorded sessions
- 10:00–20:00 server time
- Recorded regime
- ranging
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| SMA | {"period": 50} | close |
| ADX | {"period": 14} | close |
| ATR | {"period": 50} | close |
Extracted strategy rules
Recorded long-entry rules
- Z ≤ -2.2
Recorded short-entry rules
- Z ≥ 2.2
Recorded exit rules
- Take profit at the average
- Backup exit when a closed bar is back within Z ±0.3 of the average
- Stop moves to breakeven after 1 × ATR in profit
- Time exit after 40 bars
- Stop loss (handled by the broker's server)
Recorded filters
- Stretch
- Turn
- Trend
- Volatility
- Spread
- Cost gate
- News
- Daily limits
- Cooldown
- Max 8 trades per day
- Friday close
- Stop loss
- the larger of 2.5 × ATR or 500 points
- Take profit
- at the average. It is moved each bar as the average moves
- Position sizing
- calculated so that hitting the stop loses about 1% of equity
Questions about this record
What entry rules are recorded for Gold Reversion Guard?
Long: Z ≤ -2.2 Short: Z ≥ 2.2 These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD. Timeframes: M5. These are source-recorded labels, not verified execution behavior.