The Ryley Trades FVGC code pack
Everything behind my test of his "over 90% win rate" strategy: the backtester, every trade, and all 782,880 versions I tested.
Or get every code pack free with Backtest Lab, my channel membership, for $4.99 a month.
Every trade is inside
His rules won 52.5% of 1,016 trades over the last 5 years, not 90%, and made $7,425. The London A+ version, built from rules in his own videos, made $53,375 over the same 5 years while winning only 47.5% of its trades.
- Market
- NQ, 1-minute, 20-point stop and target, Oct 2021 to Sep 2026
- Trades
- 1,016, 52.5% won
- Running total
- $7,425
What you download
ryley_fvgc_backtester.pyThe backtester. One Python file, nothing to install. It runs the London A+ version by default, his rules with one switch, and prints the My Funded Futures challenge results.
ryley_reversal_backtester.pyA second backtester for the reversal model from his most viewed video: sweep, CISD, fair value gap, 1:2 in the 9:45 and 10:45 macros. Same data file.
his-rules/Every trade of his July 2025 rules, 2016 to 2026: 20-point stop, 20-point target, 9:30 to 10:15.
london-a-plus/All 541 trades of the version I'd try, plus the two other versions that held up and every trade of the reversal model.
all-782880-versions/Every version I tested, one row each: his biases, filters, stops and targets on 1, 2 and 3-minute charts, with the profit in each half.
The versions that held up
His rules lost $4,630 from 2016 to 2021. These three made money in both halves, and so did most of the versions next to them. The London A+ version is the backtester's default.
| Version | Stop / target | 2016–21 | 2021–26 | Won | PF |
|---|---|---|---|---|---|
| His rules | 20 / 20 pts | −$4,630 | $7,425 | 52.5% | 1.04 |
| London A+ (default) | 60 / 120 pts | $14,725 | $53,375 | 47.5% | 1.34 |
| 6am window | 60 / 120 pts | $5,270 | $58,570 | 45.2% | 1.36 |
| Draw count | 50 / 75 pts | $1,510 | $34,160 | 50.5% | 1.36 |
Change a setting, run it again
Smaller stop, his rules, a later cutoff, only A+ setups? Every setting is an option on the command line. This is the real default from the top of the file.
LONDON_A_PLUS = dict(stop=60.0, target=2.0,
end="10:15", aplus=True,
bias="london", per_day=2)
# his July 2025 rules:
# python3 ryley_fvgc_backtester.py NQ_1m.csv \
# --his-rules --start 2021-10-01Before you buy
Price data isn't included. I tested on licensed 1-minute NQ data I'm not allowed to share, so you need your own file. The top of the code says the format it reads.
It's the 1-minute chart. He trades the 30-second chart, reads his bias by eye and sits some days out. The code takes every setup his rules allow.
It's a backtest, not a signal. The London A+ version is one pick out of 782,880 and could be luck. It loses more trades than it wins. Run it on a sim first.
Channel members get it free. If you're in Backtest Lab, the code is in the members' post. Something broken? Email eddypips@eddypipstrading.com.
Get the code for $7
Or get every code pack free with Backtest Lab for $4.99 a month.