SD1H4H — S&P 500 (US 500) Multi-TF Structure Backtest Variant Model (LuxAlgo)

Dukascopy 1-minute BID data, Jan 2022 → present · S&P 500 (US 500) (USA500IDXUSD)
← 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

92 trades total — 64 train / 28 test.

MetricSpearman ρ (all trades)p-valueSignificant?Train: filter vs. otherTest: filter vs. otherHeld up?
Trailing 20D Realized Volatility (log-return std)+0.1320.2080n.s.-0.04R vs -0.33R+0.45R vs -0.94Rheld up
Trailing 20D Avg ATR (% of price)+0.1440.1696n.s.-0.06R vs -0.31R+0.26R vs -0.93Rheld up
Trailing 20D Trend Efficiency Ratio (Kaufman ER)-0.1930.0655n.s.+0.24R vs -0.61R-0.21R vs -0.29Rheld up
Trailing 4H Structure Flips (last 120 bars)-0.0480.6494n.s.+0.09R vs -0.46R-0.01R vs -0.38Rheld up
Trailing 1H Structure Flips (last 480 bars)-0.0050.9612n.s.+0.11R vs -0.60R-0.33R vs -0.16Rdid not hold up
Trailing 1H Extension from EMA50 (x ATR14, last 480 bars)-0.0630.5537n.s.+0.38R vs -0.75R-0.31R vs +0.11Rdid not hold up
Trade-level regime scatter gridTrain vs test median-split comparison

Strategy B

58 trades total — 40 train / 18 test.

MetricSpearman ρ (all trades)p-valueSignificant?Train: filter vs. otherTest: filter vs. otherHeld up?
Trailing 20D Realized Volatility (log-return std)-0.1020.4440n.s.+0.86R vs -1.00R-0.99R vs +0.64Rdid not hold up
Trailing 20D Avg ATR (% of price)-0.1120.4019n.s.+0.86R vs -1.00R-0.99R vs +1.35Rdid not hold up
Trailing 20D Trend Efficiency Ratio (Kaufman ER)+0.0460.7339n.s.+0.69R vs -0.83R-0.83R vs +1.88Rdid not hold up
Trailing 1H Structure Flips (last 480 bars)-0.0310.8181n.s.+0.03R vs -1.00R+0.17R vs -0.97Rheld up
Trailing 1H Extension from EMA50 (x ATR14, last 480 bars)-0.1560.2434n.s.+0.15R vs -0.29R-1.00R vs +0.10Rdid 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.0520.7087n.s.
Avg Daily ATR (% of price)+0.0940.4971n.s.
Trend Efficiency Ratio (Kaufman ER, 0-1)+0.2100.1233n.s.
4H Structure Flips (BOS+CHoCH count)+0.0610.6591n.s.
1H Structure Flips (BOS+CHoCH count)-0.2440.0721n.s.
1H Extension from EMA50 (x ATR14)+0.0890.5205n.s.
Regime scatter gridGood vs bad months regime comparison

Strategy B

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