Extracted algorithm research record
XAUUSD_ReversalTrend_M1
Scalping XAUUSD (gold) with a reversal-in-trend strategy using RSI/Stochastic oscillator and candle confirmation.
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
- M15, H1
- Recorded sessions
- Not specified
- Recorded regime
- trending
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| EMA | {"period": 50} | close |
| RSI | {"period": 14} | close |
| Stochastic | {"D": 3, "K": 5, "slow": 3} | close |
| ATR | {"period": 14} | close |
| ADX | {"period": 14} | close |
Extracted strategy rules
Recorded long-entry rules
- InpOscMode = RSI or Both and RSI > InpRSIBuyLevel
- InpOscMode = Stochastic and Stochastic > InpStochBuyLevel
- InpOscMode = Both and RSI > InpRSIBuyLevel and Stochastic > InpStochBuyLevel
- InpMinWickRatio > 0.30
- InpMinClosePosition > 0.50
- InpMinRangeATRRatio > 0.0
- InpTrendTimeframe = M15 or H1 and trend is up
- InpUseSlopeFilter = true and slope is up
- InpUseADXFilter = true and ADX > InpADXMinLevel
Recorded short-entry rules
- InpOscMode = RSI or Both and RSI < InpRSISellLevel
- InpOscMode = Stochastic and Stochastic < InpStochSellLevel
- InpOscMode = Both and RSI < InpRSISellLevel and Stochastic < InpStochSellLevel
- InpMinWickRatio > 0.30
- InpMinClosePosition < 0.50
- InpMinRangeATRRatio > 0.0
- InpTrendTimeframe = M15 or H1 and trend is down
- InpUseSlopeFilter = true and slope is down
- InpUseADXFilter = true and ADX > InpADXMinLevel
Recorded exit rules
- Breakeven after InpBreakevenTriggerPoints points profit
- Trailing after breakeven is set
- Partial close at InpPartialPercent profit
- Time exit after InpMaxBarsInTrade bars
Recorded filters
- InpMaxSpreadPoints > 50
- InpUseSession = false
- InpUseATRFilter = false
- InpATRMinPoints <= ATR <= InpATRMaxPoints
- InpUseNewsFilter = false
- InpMaxDailyLossPercent < 5.0%
- InpMaxTradesPerDay < 20
- InpMaxOpenPositions = 1
- InpDailyProfitTargetPercent < 0.0%
- Stop loss
- ConfirmCandle: SL at low/high of confirming candle + buffer (InpSLBufferPoints points)
- Take profit
- None (relying on trailing), RR (InpRR times SL distance), or points (InpTPPoints points)
- Position sizing
- Fixed (InpFixedLot) or RiskPct (InpRiskPercent%)
Questions about this record
What entry rules are recorded for XAUUSD_ReversalTrend_M1?
Long: InpOscMode = RSI or Both and RSI > InpRSIBuyLevel InpOscMode = Stochastic and Stochastic > InpStochBuyLevel InpOscMode = Both and RSI > InpRSIBuyLevel and Stochastic > InpStochBuyLevel InpMinWickRatio > 0.30 InpMinClosePosition > 0.50 InpMinRangeATRRatio > 0.0 InpTrendTimeframe = M15 or H1 and trend is up InpUseSlopeFilter = true and slope is up InpUseADXFilter = true and ADX > InpADXMinLevel Short: InpOscMode = RSI or Both and RSI < InpRSISellLevel InpOscMode = Stochastic and Stochastic < InpStochSellLevel InpOscMode = Both and RSI < InpRSISellLevel and Stochastic < InpStochSellLevel InpMinWickRatio > 0.30 InpMinClosePosition < 0.50 InpMinRangeATRRatio > 0.0 InpTrendTimeframe = M15 or H1 and trend is down InpUseSlopeFilter = true and slope is down InpUseADXFilter = true and ADX > InpADXMinLevel These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD. Timeframes: M15, H1. These are source-recorded labels, not verified execution behavior.