Extracted algorithm research record
XAUUSD Swing Trading v3
Swing trading strategy for XAUUSD with auto risk management, multi-timeframe trend confirmation, and stop loss/trail stop features.
Source & extraction context
Evidence label: source_code (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
- H4, D1
- Recorded sessions
- Not specified
- Recorded regime
- trending|ranging|volatile|breakout|any
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| EMA | {"period": 50} | close |
| EMA | {"period": 200} | close |
| ADX | {"period": 14} | close |
| RSI | {"period": 14} | close |
Extracted strategy rules
Recorded long-entry rules
- sma50 > sma200 && close[0] > sma50 && adx > 25 && rsi > 30 && rsi < 70 && check_trend_confirmation
Recorded short-entry rules
- sma50 < sma200 && close[0] < sma50 && adx > 25 && rsi > 30 && rsi < 70 && check_trend_confirmation
Recorded exit rules
- apply_break_even
- apply_trailing_stop
- check_hidden_sl_tp
Recorded filters
- spread_filter
- news_filter
- max_drawdown_control
- Stop loss
- atr * 1.5
- Take profit
- atr * 3.0
- Position sizing
- lot_size = calculate_lot_size(stop_loss_pips)
Questions about this record
What entry rules are recorded for XAUUSD Swing Trading v3?
Long: sma50 > sma200 && close[0] > sma50 && adx > 25 && rsi > 30 && rsi < 70 && check_trend_confirmation Short: sma50 < sma200 && close[0] < sma50 && adx > 25 && rsi > 30 && rsi < 70 && check_trend_confirmation These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD. Timeframes: H4, D1. These are source-recorded labels, not verified execution behavior.