FREEHistorical Analysis

Strategy Backtester

Test long- and medium-term trading strategies on real historical price data. Compare Buy & Hold, Dollar-Cost Averaging, RSI oversold/overbought signals, and the Golden/Death Cross moving-average crossover — side by side on any stock or ETF.

Backtest Configuration

Ticker Symbol

Any US stock or ETF — up to 20 years of data loaded automatically

$

Lump sum invested on the first day of the period.

$

Added every contribution period (monthly) to all strategies except DCA lump-sum-only Buy & Hold.

How often the contribution amount is added and strategy signals are re-checked.

Ready to backtest
Enter any US ticker symbol above and click "Run Backtest" to load historical data and compare strategies.

Strategies Compared

DCA Monthly
Invest a fixed amount every month, regardless of price. Mirrors 401(k) contributions. Reduces timing risk by averaging your entry price. The baseline all other strategies are measured against.
RSI Strategy
Same monthly contributions as DCA, but only buys when RSI(14) < 30 (oversold). Sells when RSI > 70. Cash accumulates between signals and deploys all at once when the next buy fires.
MA Crossover
Same monthly contributions as DCA, but only buys on a Golden Cross (50-day MA > 200-day MA). Sells on Death Cross. Cash accumulates while out of market, deploys on next entry signal.
Value Averaging
Each month, buy enough to hit a target growth path (default 1%/mo). If the portfolio ran ahead, sell the excess. Automatically buys more after dips and less after rallies — contrarian by design.
Dip Buyer
Near all-time highs, still invest 90% monthly and skim just 10% into a reserve. When price drops 10%+ from ATH, deploy everything at once. Stays mostly invested through rallies while keeping dry powder for real dips.
Momentum (12-1m)
Each month, check the 12-month return excluding the last month. If positive: stay/go invested. If negative: exit to cash. One of the most replicated anomalies in academic finance — trend persistence at the monthly scale.
VIX Fear Buying
When VIX is calm, still invest 85% of the monthly contribution and save just 15%. Elevated VIX = invest normally. Panic-level VIX = deploy all saved cash at once. A small calm-zone skim keeps cash drag low during rallies.
Vol-Scaled DCA
Same contrarian idea as VIX buying, but compares the stock's own realized volatility to its own trailing average. Below-normal vol for this stock: invest 90%, save 10%. Above-normal: invest more, up to all-in during a vol spike. Self-calibrating, so it works on any ticker regardless of its typical volatility level.