Indicator Lab

Backtest 13 technical indicators on SPY and QQQ using 5-year daily data, ranking single and combo strategies by return, Sharpe, and drawdown.

Install

openclaw skills install @plato-1/indicator-lab

Indicator Lab — Technical Analysis Backtesting

Backtest 13 technical indicators against SPY and QQQ on 5-year daily data.

Quick Start

bash
python scripts/indicator_backtest.py

What It Tests

CategoryIndicators
MomentumRSI(7), RSI(14), Stochastic, WilliamsR, CCI
TrendMACD, SMA cross(20,50), SMA cross(50,200), ADX
VolatilityBollinger(20,2), ATR trail
VolumeOBV, MFI

Output

  • Single indicator performance (return, Sharpe, max DD, win rate)
  • 2-indicator AND combinations
  • 3-indicator triple combos
  • Ranked by Sharpe + return - max DD score
  • Compared vs Buy & Hold baseline

Requirements

text
pip install pandas pandas-ta yfinance plotly

Usage

text
"Backtest RSI against QQQ"
"Find the best 3-indicator combo for SPY"
"Compare MACD vs Bollinger on SPY last 5 years"