RSI-divergence-detector
Relative Strength Index Divergence Detector
RSI divergence detector finds regular and hidden bullish and bearish divergences for given data
The underlying algorithm of this project has been used to detect and post RSI divergence signals for some top coins on Binance here on Twitter and here on Telegram
Usage
This project uses TaLib library for some calculations, so install the TaLib library first. Then clone the project and install other requirements.
$ git clone git@github.com:SpiralDevelopment/crypto-hft-data.git
$ cd crypto-hft-data
$ pip3 install virtualenv
$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt
Samples
- sample_tg_poster.py - Gets the ohlc data from local MySql database and checks if the last closed candle forms any form of RSI divergence with candles from the past. This script is used here in Telegram channel to detect and post RSI divergence signals
- sample_binance.py - Gets the data from Binance API and plots ALL detected RSI divergences during that period
Result
Here is the result of detected RSI divergences for BTCUSDT pair during 22.11.2020 - 22.03.2022 period in daily timeframe
- Blue lines - Regular and hidden Bullish divergences
- Red lines - Regular and hidden Bearish divergences