Strategy Lab: backtest a trading idea in plain English

Describe a strategy in your own words, for example "buy large caps when the 2-day RSI drops below 10 in an uptrend and sell when it recovers". Qanvo turns it into rules you can read and edit, then replays them day by day since 2016: every buy and sell at the next day's open, with trading costs, dividends, and companies that were later delisted, against the S&P 500.

Every result shows the full trade log with why each trade happened, the equity curve and drawdowns, year-by-year returns and what the data could and couldn't cover.

Starter strategies

  • S&P 500 above its 200-day average: Hold SPY only while it closes above its 200-day moving average; otherwise sit in cash. (2018 to 2026: 8.5% a year vs 13.7% for the S&P 500, worst drop -20.9%)
  • Buy short dips in large caps: Buy large caps (over $10B) in a long-term uptrend when the 2-day RSI drops below 10; sell when it rises above 70 or after 10 sessions. (2018 to 2026: 8.2% a year vs 13.7% for the S&P 500, worst drop -40.1%)
  • Six-month momentum leaders: Each month, hold the 20 large caps (over $10B) with the best 6-month return, among those above their 200-day average. (2018 to 2026: 13.8% a year vs 13.7% for the S&P 500, worst drop -57.4%)
  • 52-week high breakouts: Buy stocks over $2B closing at a 52-week high on 1.5x their average volume; sell on a 10% trailing stop. (2018 to 2026: 1.5% a year vs 13.7% for the S&P 500, worst drop -31.7%)
  • Quality at a fair price: Each month, hold the 20 cheapest stocks by earnings yield among companies over $1B with ROE above 15% and debt below equity. (2018 to 2026: 4.5% a year vs 13.7% for the S&P 500, worst drop -61.8%)
  • Cheap and growing: Each month, hold the 20 stocks over $1B with the highest free-cash-flow yield, among those with a P/E under 20 and revenue growing over 10%. (2018 to 2026: 15.9% a year vs 13.7% for the S&P 500, worst drop -53.3%)
  • Post-earnings drift: Buy stocks over $2B right after an earnings beat of more than 10% on EPS; hold up to 40 sessions with an 8% stop. (2018 to 2026: 5.1% a year vs 13.7% for the S&P 500, worst drop -44.1%)
  • Sector ETF rotation: Each month, hold the 3 S&P sector ETFs with the best 6-month return, if they are above their 200-day average. (2018 to 2026: 7.7% a year vs 13.7% for the S&P 500, worst drop -29.1%)
  • Low-volatility large caps: Each month, hold the 20 least volatile stocks over $10B (by one-year volatility). (2018 to 2026: 7.8% a year vs 13.7% for the S&P 500, worst drop -38%)
  • Dividend payers in uptrends: Each month, hold the 20 highest-yielding stocks over $2B with a yield above 3%, among those above their 200-day average. (2018 to 2026: 4.3% a year vs 13.7% for the S&P 500, worst drop -57.4%)
  • Trend + quality: Each week, hold the 20 stocks over $2B that are above their 50- and 200-day moving averages and within 15% of their 52-week high, with revenue growth above 15% and ROIC above 15%, ranked by 6-month return. Sell when a stock closes below its 50-day average. (2018 to 2026: 12.3% a year vs 13.7% for the S&P 500, worst drop -39.8%)
  • Quality you'd own: Each month, hold the 20 stocks over $10B with ROIC above 15%, positive free cash flow and debt-to-equity under 1, among those above their 200-day average, ranked by free-cash-flow yield. (2018 to 2026: 11.2% a year vs 13.7% for the S&P 500, worst drop -31.2%)
  • RSI(2) pullbacks in large caps: Buy S&P 500 stocks when RSI(2) drops below 10 in an uptrend, sell when it recovers above 70 (2018 to 2026: 8.3% a year vs 13.7% for the S&P 500, worst drop -39%)
  • Top 10 large caps by 12-month return: Every month hold the 10 strongest large caps by 12-month return (2018 to 2026: 16.5% a year vs 13.7% for the S&P 500, worst drop -68.4%)
  • 52-week highs on double volume: Buy stocks hitting a 52-week high on twice their normal volume, 10% trailing stop (2018 to 2026: -9.9% a year vs 13.7% for the S&P 500, worst drop -71.9%)
  • QQQ above its 200-day average: Hold QQQ when it is above its 200-day average, otherwise cash (2018 to 2026: 15.4% a year vs 13.7% for the S&P 500, worst drop -23.2%)
  • Cheap profitable mid caps: Cheapest profitable mid caps by free cash flow yield, rebalanced quarterly (2018 to 2026: 10.4% a year vs 13.7% for the S&P 500, worst drop -55.3%)

Open the Strategy Lab · Open the screener

Hypothetical results from a simulation on historical data: they include estimated trading costs but not taxes, and past performance does not predict future returns. Research tool, not investment advice.