Gold vs SPY switch on Oil 100-day MA
buy gold when oil is above its 100 day moving avg otherwise buy spy
Published Sep 3, 2026
$128,186from $100,000
+28.2%
+16.9%
0.75
−26.6%
StrategySPY buy-and-holdFillsLinear scale
Margin notes
most of the return came from 2025-10-03 to 2026-01-29 — one stretch carries the result
Tested Jan 28, 2025 to Sep 1, 2026.
Contract
- 1. Universe. Trade only GLD, SPY, USO.
- 2. Signal. Each trading day at 09:35 ET, read USO’s close price.
- 3. Signal. Also read USO’s 100-day simple moving average.
- 4. Exit. If USO’s close price exceeds USO’s 100-day average, set the target allocation of GLD to 100% and sell all SPY.
- 5. Exit. Otherwise, set the target allocation of SPY to 100% and sell all GLD.
Hypothetical performance on historical data. The same contract on the same data and cost model reproduces this number exactly. Backtests are not indicative of future results.