# RSI Divergence Bot This strategy was inspired by the following post on X: ![Strategy Rules](./strategy_rules.png) ## Rules 1. On the hourly SPY chart, enter a long when the RSI is > than it was 5 bars ago but price is lower. 2. Exit the position when the RSI is > 70. ## Backtest Results ### SPY ![SPY All-Time Analysis](./backtest-results/spy_all_time_analysis.png) ![SPY All-Time Summary](./backtest-results/spy_all_time_summary.png) ### QQQ ![QQQ All-Time Analysis](./backtest-results/qqq_all_time_analysis.png) ![QQQ All-Time Summary](./backtest-results/qqq_all_time_summary.png) ---