spy-buy-indicator

3YI29

A TradingView Pine Script buy indicator combining RSI, Bollinger Bands, and KDJ with a Futu OpenD backtester.

PythonCreated

What is 3YI29/spy-buy-indicator?

spy-buy-indicator is an open-source TradingView Pine Script v6 timing indicator paired with a Python backtesting script using Futu OpenD. Originally built for the SPY exchange-traded fund, it combines RSI, Bollinger Bands, and KDJ into one-to-three-star resonance signals alongside a first-pullback 60-day moving-average diamond marker.

The methodology separates uptrends and downtrends using the 60-day moving average, treating one-star pullbacks as entries in uptrends while requiring two- or three-star signals during downtrends. The README includes nearly eleven years of historical daily backtest metrics across US and Hong Kong symbols including SPY, QQQ, AAPL, NVDA, TSLA, 02800, and 00700.

Traders paste the Pine Script code into the TradingView Pine Editor to plot signals on charts, or install futu-api, pandas, and numpy against a local Futu OpenD instance on port 11111 to reproduce the historical tables. The project is MIT licensed.

Before you startThe README says

Runs on
TradingView in the browser, plus Python locally for backtesting
Needs
TradingView Pine Editor; local Futu OpenD, futu-api, pandas, and numpy for backtesting
Accounts or paid services
TradingView account; local Futu OpenD connection for backtesting
How you get it
Copy the Pine script into TradingView or run the Python backtest script
README language
Chinese

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.