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

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 ← Original 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

81 trades total — 56 train / 25 test.

MetricSpearman ρ (all trades)p-valueSignificant?Train: filter vs. otherTest: filter vs. otherHeld up?
Trailing 20D Realized Volatility (log-return std)+0.0370.7422n.s.+0.07R vs -0.14R-0.43R vs +1.39Rdid not hold up
Trailing 20D Avg ATR (% of price)+0.0570.6156n.s.+0.17R vs -0.23R-0.29R vs +1.11Rdid not hold up
Trailing 20D Trend Efficiency Ratio (Kaufman ER)-0.0180.8759n.s.+0.09R vs -0.15R-0.13R vs +1.29Rdid not hold up
Trailing 4H Structure Flips (last 120 bars)-0.0200.8573n.s.+0.27R vs -0.28R-0.30R vs +1.42Rdid not hold up
Trailing 1H Structure Flips (last 480 bars)-0.1160.3023n.s.+0.04R vs -0.59R+0.89R vs -1.00Rheld up
Trailing 1H Extension from EMA50 (x ATR14, last 480 bars)-0.0770.4957n.s.+0.19R vs -0.25R+0.51R vs +0.74Rdid not hold up
Trade-level regime scatter gridTrain vs test median-split comparison

Strategy B

47 trades total — 32 train / 15 test.

MetricSpearman ρ (all trades)p-valueSignificant?Train: filter vs. otherTest: filter vs. otherHeld up?
Trailing 20D Realized Volatility (log-return std)-0.1170.4333n.s.+0.21R vs -0.76R+8.80R vs -0.25Rheld up
Trailing 20D Avg ATR (% of price)-0.1440.3350n.s.+0.45R vs -1.00R+8.80R vs -0.25Rheld up
Trailing 20D Trend Efficiency Ratio (Kaufman ER)-0.0260.8648n.s.+0.21R vs -0.76R+4.12R vs +0.06Rheld up
Trailing 4H Structure Flips (last 120 bars)-0.0900.5459n.s.-0.23R vs -0.44R-0.41R vs +7.54Rdid not hold up
Trailing 1H Structure Flips (last 480 bars)+0.0310.8358n.s.+0.21R vs -0.76R-0.75R vs +8.04Rdid not hold up
Trailing 1H Extension from EMA50 (x ATR14, last 480 bars)+0.1440.3336n.s.-0.01R vs -0.53R+0.25R vs +4.44Rdid 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.0350.8005n.s.
Avg Daily ATR (% of price)+0.0110.9341n.s.
Trend Efficiency Ratio (Kaufman ER, 0-1)+0.1050.4451n.s.
4H Structure Flips (BOS+CHoCH count)-0.0900.5127n.s.
1H Structure Flips (BOS+CHoCH count)-0.2220.1038n.s.
1H Extension from EMA50 (x ATR14)-0.1460.2880n.s.
Regime scatter gridGood vs bad months regime comparison

Strategy B

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