WTI Crude Oil (USO ETF) — 26 Classic Pine Script v5 Rules on Sealed Data
On WTI Crude Oil (USO ETF) (5,148 daily sessions from 2006-04-10 to 2026-09-25, sealed 20% window starting 2022-08-19), the strongest judgeable showing comes from Stochastic RSI (+62.64% — judge engine verdict, computed on Oil (USO): No edge evidence (1/4)) against +99.88% for passive holding. Test your own OHLCV CSV on this market directly in the free browser judge.
Oil (USO) sealed window summary
Public daily bars from Yahoo Finance (USO), files dated 2026-09-30 (last session: 2026-09-25), raw series not redistributed.
All 26 Pine v5 strategies on Oil (USO) (sorted by out-of-sample hold vs Buy & Hold)
USO ETF reflects front-month WTI futures roll yield / contango drag.
| Pine v5 Rule | Family | Sealed Return | Vs Buy & Hold | Ahead of Holding? | Judge engine verdict, computed on Oil (USO) | Sealed Trades | Replay |
|---|---|---|---|---|---|---|---|
| Stochastic RSI | Mean Reversion | +62.64% | -37.24 pts | No | No edge evidence (1/4) | 23 | Open in judge (on BTCUSDT) → |
| Linear Regression 20 | Trend Following | +41.14% | -58.74 pts | No | No proof yet (1/4 steps) | 13 | Open in judge (on BTCUSDT) → |
| No-Leak Weekly EMA Filter | Multi-Timeframe & AI | +32.54% | -67.34 pts | No | No proof yet (1/4 steps) | 43 | Open in judge (on BTCUSDT) → |
| EMA Ribbon 8/21/55 | Trend Following | +28.95% | -70.93 pts | No | No proof yet (1/4 steps) | 15 | Open in judge (on BTCUSDT) → |
| SuperTrend | Trend Following | +25.80% | -74.08 pts | No | No proof yet (1/4 steps) | 18 | Open in judge (on BTCUSDT) → |
| ALMA 20 Gaussian Trend | Trend Following | +25.01% | -74.87 pts | No | No proof yet (1/4 steps) | 21 | Open in judge (on BTCUSDT) → |
| VWAP Bounce | Momentum & Volume | +5.99% | -93.89 pts | No | No edge evidence (1/4) | 246 | Open in judge (on BTCUSDT) → |
| CCI 20 (+100) Breakout | Momentum & Volume | +3.79% | -96.09 pts | No | No proof yet (1/4 steps) | 30 | Open in judge (on BTCUSDT) → |
| Parabolic SAR 0.02/0.2 | Trend Following | -2.07% | -101.95 pts | No | No edge evidence (1/4) | 48 | Open in judge (on BTCUSDT) → |
| Hull Moving Average 55 | Trend Following | -2.42% | -102.30 pts | No | No edge evidence (1/4) | 31 | Open in judge (on BTCUSDT) → |
| EMA Crossover 9/21 | Trend Following | -2.52% | -102.40 pts | No | No edge evidence (1/4) | 26 | Open in judge (on BTCUSDT) → |
| ADX 25 & DMI 14 Trend | Trend Following | -3.85% | -103.73 pts | No | No edge evidence (1/4) | 10 | Open in judge (on BTCUSDT) → |
| ROC 14 + EMA 200 Filter | Momentum & Volume | -7.97% | -107.85 pts | No | No edge evidence (1/4) | 25 | Open in judge (on BTCUSDT) → |
| Bollinger Squeeze Breakout | Volatility Breakout | -9.80% | -109.68 pts | No | No edge evidence (1/4) | 15 | Open in judge (on BTCUSDT) → |
| Donchian Turtle 20/10 | Volatility Breakout | -10.12% | -110.00 pts | No | No edge evidence (1/4) | 18 | Open in judge (on BTCUSDT) → |
| Keltner Channel Breakout 20/1.5 | Volatility Breakout | -12.28% | -112.16 pts | No | No edge evidence (1/4) | 22 | Open in judge (on BTCUSDT) → |
| Williams %R 14 Pullback | Mean Reversion | -19.07% | -118.95 pts | No | No edge evidence (1/4) | 20 | Open in judge (on BTCUSDT) → |
| Pivot High/Low Breakout | Volatility Breakout | -22.04% | -121.92 pts | No | No edge evidence (1/4) | 13 | Open in judge (on BTCUSDT) → |
| MACD Momentum | Momentum & Volume | -28.18% | -128.06 pts | No | No edge evidence (1/4) | 47 | Open in judge (on BTCUSDT) → |
| ATR 14 Chandelier Stop | Volatility Breakout | -35.79% | -135.67 pts | No | No edge evidence (1/4) | 20 | Open in judge (on BTCUSDT) → |
| AI-style ATR Breakout + EMA 200 | Multi-Timeframe & AI | -36.26% | -136.14 pts | No | No edge evidence (1/4) | 23 | Open in judge (on BTCUSDT) → |
| Money Flow Index MFI 14 (20/80) | Momentum & Volume | +123.92% | +24.04 pts | Few trades (<10) | Not enough trades | 4 | Open in judge (on BTCUSDT) → |
| RSI Mean Reversion | Mean Reversion | +56.01% | -43.87 pts | Few trades (<10) | Not enough trades | 3 | Open in judge (on BTCUSDT) → |
| Bollinger Band Bounce | Mean Reversion | +41.33% | -58.55 pts | Few trades (<10) | Not enough trades | 9 | Open in judge (on BTCUSDT) → |
| Golden Cross SMA 50/200 | Trend Following | +16.59% | -83.29 pts | Few trades (<10) | Not enough trades | 4 | Open in judge (on BTCUSDT) → |
| Ichimoku Tenkan 9 / Kijun 26 | Trend Following | -27.03% | -126.91 pts | Few trades (<10) | Not enough trades | 9 | Open in judge (on BTCUSDT) → |
Test your own rule on Oil (USO) (CSV candles or TradingView export)
You do not have to rely on Bitcoin alone to check a Pine v5 strategy before risking capital:
- In the free online judge (/en/strategy-judge), open “Another market than BTCUSDT? Test on your own candles (CSV file)” and drop your daily or intraday OHLCV CSV (read locally in your browser, never uploaded).
- In the free desktop Strategy Arena Lab (/en/download), replay your rule locally on multi-year histories with trial counting.
- If your Pine script uses constructs specific to TradingView or non-crypto symbols, export the Strategy Tester's “List of trades” CSV (available on TradingView Essential plans and above) into /en/dossier for a free preview (before/after cut date and fee impact).
Online judge & desktop Lab: €0. Full TradingView trade-list audit dossier: €9 one-time payment (or 1 credit; €9 / €25 / €49 credit packs), no account required, with a 7-day full refund guarantee if the dossier teaches you nothing beyond the free preview or the TradingView Strategy Tester.
Data sources, spectral diversity & related benchmarks
Public daily bars from Yahoo Finance (USO), files dated 2026-09-30 (last session: 2026-09-25), raw series not redistributed. USO ETF reflects front-month WTI futures roll yield / contango drag.
Effective market diversity (Ledoit & Wolf 2004 analytical shrinkage on the 2,247 common trading sessions across all 8 markets, with zero missing-day zero-filling): optimal shrinkage δ* = 0.0223, yielding 4.11 effective independent market bets out of 8 (4.02 before shrinkage).
- Bitcoin 3-Timeframe Benchmark (1D, 4H, 1H) — How timeframe granularity affects fee drag on BTCUSDT.
- 29 Free Pine Script v5 Strategy Sheets — Full source code, parameters and BTC verdicts for each rule.
- 17 Classic Market Rules Tested on Unseen Years — Out-of-sample protocol applied to literature rules.
Frequently asked questions
How were these 26 strategies tested on Oil (USO)?
Each Pine Script v5 rule was replayed without parameter tuning by the judge engine (judge engine verdict, computed on Oil (USO)) on the first 80% of daily bars (up to 2022-08-19) and evaluated once with fresh capital on the latest 20% (2022-08-19 → 2026-09-25) with 0.10% fee per fill.
How can I test my own Oil (USO) strategy in Strategy Arena?
Prepare a standard OHLCV CSV file for Oil (USO) from a data source you are licensed to use and drop it into the CSV zone of /en/strategy-judge, or export your Strategy Tester “List of trades” CSV from TradingView into /en/dossier.
Historical research on past market data, never investment advice or a promise of future returns. Pine Script® is a trademark of TradingView.