Studies IFVG series

Not this time

Ryan's iFVG model (1H entry, daily context) on Gold

Ryan's (DodgysDD) iFVG model, written as fixed rules and tested on XAUUSD from October 2021. Out of sample it took 115 trades and averaged +0.129R per trade, +14.8R in total, before trading costs; with average costs, an estimated +0.106R. 2 of 5 test windows made money before costs. Verdict: not this time. One of 180 tests.

One of 180 tests in a study series. See all 180 side by side
Instrument
XAUUSD
Timeframe
H1
Period
Oct 2021 – Oct 2026
Status
Complete
Published
4 Nov 2026
Engine run
run_3705710194
Out-of-sample result

Result

Before trading costs Out-of-sample
Engine verdictBefore trading costs Out-of-sample
Not this time

Rejected: 84% probability the true Sharpe is above zero (one fixed rule set was tested, so there is no search to deflate for); p = 0.195 against block-bootstrapped price series. Also failed: fold consistency, robust to resampled trades

What the verdict means
Expectancy+0.129Raverage result per trade, in units of risk
Total+14.8Rsum of every out-of-sample trade
Trades115out-of-sample trades taken
Win rate36.5%share of trades that made money
Profit factor1.22gross profit divided by gross loss
Max drawdown−23.9Rworst fall from a peak

Out-of-sample equity

Before trading costs Out-of-sample
0R
+5R
+10R
+15R
+20R
+25R
−20R
Jun 2023202420252026Oct 2026
Cumulative R, out-of-sampleDrawdown from peakworst −23.9R

The walk-forward test windows stitched end to end, in R (one R is the amount risked on a trade). No trade on this curve was used to choose the parameters that took it.

Method

1H entry, daily context. Price sweeps an obvious level (the previous day's high or low, a context swing, the Asia or London range, or a recent swing on the entry chart). A single fair value gap formed in the leg into the sweep is then closed through by a candle body: the inversion. Entry at the next bar's open, away from the sweep; stop at the swept extreme; target the nearest untaken level on the other side, taken only if it is at least 1R away. On 5m and 15m, signals 09:30-11:00 New York and flat at 16:00. Every rule was written down before the test and nothing was optimised.

Data: XAUUSD (gold), 1 October 2021 to 26 October 2026. A signal fills at the next bar's open; a bar that reaches both stop and target counts as stopped.

The test is a rolling walk-forward with five folds; only trades in the test windows count. Results are in R, the amount risked per trade. The verdict is before trading costs; a second reading charges average spread, slippage and commission and is labelled as an estimate.

This is one of 180 tests. With that many, several can look good by chance alone.

The iFVG model is taught by the trader and educator Ryan (DodgysDD) on YouTube and X. The rules here are IDFX's mechanical reading of what Ryan teaches publicly, written down before the test. Ryan reads the draw on liquidity by eye, mostly on 1 to 3-minute charts, and has not seen or endorsed this test.

Verdict: not this time (engine grade: reject). Out of sample, this reading of the iFVG model averaged +0.129R per trade over 115 trades on XAUUSD, +14.8R in total, before trading costs, and 2 of 5 test windows made money. Estimate with average costs: +0.106R per trade, +12.2R. This is one of 180 tests.

Runs run_3705710194 (before costs) and run_1d20e3c5c0 (with costs), IDFX engine, November 2026. The sample-trade review was deferred; the trades were checked candle by candle instead.

The idea

Price runs an obvious high or low where stops sit. On the way into it, it leaves a fair value gap. When a candle body closes back through that gap, the gap is inverted and the sweep looks like a trap: trade away from it, stop beyond the swept extreme, target the liquidity on the other side.

The iFVG model is taught by the trader and educator Ryan (DodgysDD) on YouTube and X. The rules here are IDFX's mechanical reading of what Ryan teaches publicly, written down before the test. Ryan reads the draw on liquidity by eye, mostly on 1 to 3-minute charts, and has not seen or endorsed this test.

Data and test

  • XAUUSD (gold), H1 bars, 1 October 2021 to 26 October 2026.
  • Rolling walk-forward, five folds; only the test windows count. Every rule was fixed.
Fold Test window Trades Average per trade
1 2023-06-12 to 2024-02-13 21 +0.752R
2 2024-02-14 to 2024-10-15 22 -0.015R
3 2024-10-15 to 2025-06-20 27 -0.067R
4 2025-06-20 to 2026-02-23 19 -0.431R
5 2026-02-23 to 2026-10-26 26 +0.359R

Results (out of sample)

Before trading costs Estimate with average costs
Trades 115 115
Win rate 36.5% 36.5%
Average result per trade +0.129R +0.106R
Profit factor 1.22 1.16
Total +14.8R +12.2R
Worst peak-to-trough fall 23.9R 25.0R
Test windows that made money 2 of 5 2 of 5

The verdict, before trading costs

Not this time. Rejected: 84% probability the true Sharpe is above zero (one fixed rule set was tested, so there is no search to deflate for); p = 0.195 against block-bootstrapped price series. Also failed: fold consistency, robust to resampled trades.

  • Sample size: passed. 115 out-of-sample trades
  • Positive expectancy: passed. expectancy of +0.129R per trade before trading costs
  • Walk-forward efficiency: not applicable. not applicable: every parameter is fixed, so nothing was fitted on the training windows and there is no fit to decay; the fixed rules are judged by their out-of-sample expectancy and fold consistency
  • Fold consistency: failed. 40% of walk-forward folds were profitable
  • Sharpe significance: failed. 84% probability the true Sharpe is above zero (one fixed rule set was tested, so there is no search to deflate for)
  • Beats shuffled price: failed. p = 0.195 against block-bootstrapped price series
  • Robust to resampled trades: failed. 82% of trade sequences resampled with replacement end profitable
  • Survivable drawdown: passed. 0.0% chance of halving the account at the configured risk
  • Drawdown: passed. maximum drawdown of 20.1%

Reshuffled price series scored as well or better in 7 of 40 tries (p = 0.20).

180 tests. This is one of 180 run together, so no single one should be read on its own.

Limitations

  • The verdict is before trading costs. The with-costs figure is an estimate from average costs, not one broker's fills.
  • One of 180 tests; a single good-looking result among them can be luck.
  • The out-of-sample result covers about 3.4 years, not the whole five.
  • 5-minute and slower charts; Ryan mostly enters on 1 to 3-minute charts.
  • A mechanical reading. Ryan reads the draw on liquidity by eye; Ryan's own trading can differ.
  • A backtest, not live or funded-account trading.

The data

Everything on this page comes from one file, published as it was written. Fetch it, check it, or hand it to your own tools.

/studies/ifvg-1h-d-gold.json