SD1H4H — Silver (XAG/USD) Multi-TF Structure Backtest Original Model

Dukascopy 1-minute BID data, Jan 2022 → present · Silver (XAG/USD) (XAGUSD)
← All Markets Overview Strategy A Strategy B Trade Viewer Regime Analysis Entry Filters Trading Costs Monte Carlo Variant Model →

Regime Analysis

Corrected, ex-ante methodology. Every metric below is a TRAILING window (last 20 trading days / 480 1H bars / 120 4H bars) ending at each trade's own entry time, using only data that would actually have been known at that moment — no lookahead. Each trade is one data point (not each month), giving far more statistical power. Trades are split chronologically: the first 70% (train) is used only to pick a median threshold and a direction; the last 30% (test) is untouched until that frozen rule is checked against it. An earlier version of this page aggregated metrics over whole calendar months, which leaks future-within-the-month information into the metric — see the superseded section at the bottom for why that mattered.

Strategy A

1177 trades total — 823 train / 354 test.

MetricSpearman ρ (all trades)p-valueSignificant?Train: filter vs. otherTest: filter vs. otherHeld up?
Trailing 20D Realized Volatility (log-return std)+0.0420.1489n.s.-0.04R vs -0.05R-0.04R vs -0.18Rheld up
Trailing 20D Avg ATR (% of price)+0.0730.0132p < 0.05-0.02R vs -0.07R-0.02R vs -0.19Rheld up
Trailing 20D Trend Efficiency Ratio (Kaufman ER)-0.0130.6702n.s.-0.04R vs -0.05R+0.07R vs -0.24Rheld up
Trailing 4H Structure Flips (last 120 bars)+0.0100.7310n.s.-0.04R vs -0.05R-0.11R vs -0.05Rdid not hold up
Trailing 1H Structure Flips (last 480 bars)+0.0430.1444n.s.-0.02R vs -0.07R-0.19R vs +0.03Rdid not hold up
Trailing 1H Extension from EMA50 (x ATR14, last 480 bars)-0.0180.5473n.s.+0.04R vs -0.12R+0.04R vs -0.20Rheld up
Trade-level regime scatter gridTrain vs test median-split comparison

Strategy B

812 trades total — 568 train / 244 test.

MetricSpearman ρ (all trades)p-valueSignificant?Train: filter vs. otherTest: filter vs. otherHeld up?
Trailing 20D Realized Volatility (log-return std)+0.0100.7687n.s.-0.07R vs -0.12R+0.23R vs +0.23Rheld up
Trailing 20D Avg ATR (% of price)+0.0350.3277n.s.-0.06R vs -0.14R+0.27R vs +0.15Rheld up
Trailing 20D Trend Efficiency Ratio (Kaufman ER)+0.0480.1705n.s.-0.07R vs -0.12R+0.39R vs +0.06Rheld up
Trailing 4H Structure Flips (last 120 bars)-0.0430.2212n.s.-0.09R vs -0.11R+0.13R vs +0.36Rdid not hold up
Trailing 1H Structure Flips (last 480 bars)-0.0240.4984n.s.-0.08R vs -0.11R+0.21R vs +0.24Rdid not hold up
Trailing 1H Extension from EMA50 (x ATR14, last 480 bars)-0.0010.9663n.s.+0.07R vs -0.23R+0.16R vs +0.32Rdid not hold up
Trade-level regime scatter gridTrain vs test median-split comparison
Bottom line: none of the six metrics tested reach statistical significance (p < 0.05) against individual trade outcomes for either strategy — correlations are all near zero (|ρ| < 0.1). Where a train/test split shows the same direction in both halves ('held up'), that is expected to happen by chance a meaningful fraction of the time when the underlying effect is this weak and six metrics are tested per strategy — it should not be read as a discovered filter. As of this data, none of these price/structure regime measures give an actionable, statistically defensible rule for skipping trades ahead of time.

Superseded: Original Monthly (Hindsight) Analysis

This section has a lookahead-bias flaw and is kept only for transparency — do not treat it as a trading rule. Each metric here was computed over the ENTIRE calendar month a trade closed in, including days after that trade. A month's full ATR% or trend-efficiency ratio isn't knowable until the month is over, so the strong-looking correlations below describe what characterized good/bad months in hindsight, not something that could have been acted on in real time. The corrected, trade-level, ex-ante version above supersedes this.

Strategy A

MetricSpearman ρp-valueSignificant?
Daily Realized Volatility (log-return std)+0.3920.0031p < 0.05
Avg Daily ATR (% of price)+0.4270.0011p < 0.05
Trend Efficiency Ratio (Kaufman ER, 0-1)-0.1300.3438n.s.
4H Structure Flips (BOS+CHoCH count)-0.1120.4172n.s.
1H Structure Flips (BOS+CHoCH count)+0.0090.9489n.s.
1H Extension from EMA50 (x ATR14)+0.2830.0362p < 0.05
Regime scatter gridGood vs bad months regime comparison

Strategy B

MetricSpearman ρp-valueSignificant?
Daily Realized Volatility (log-return std)+0.2100.1237n.s.
Avg Daily ATR (% of price)+0.2210.1046n.s.
Trend Efficiency Ratio (Kaufman ER, 0-1)+0.0980.4754n.s.
4H Structure Flips (BOS+CHoCH count)-0.0000.9990n.s.
1H Structure Flips (BOS+CHoCH count)+0.0540.6976n.s.
1H Extension from EMA50 (x ATR14)+0.0860.5338n.s.
Regime scatter gridGood vs bad months regime comparison