Skip to content

RSI divergence detector finds regular and hidden bullish and bearish divergences

License

Notifications You must be signed in to change notification settings

SpiralDevelopment/RSI-divergence-detector

Repository files navigation

RSI-divergence-detector

Relative Strength Index Divergence Detector

RSI divergence detector finds regular and hidden bullish and bearish divergences

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 database and checks if the last candle has RSI divergence
  • 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

License

MIT License

Releases

No releases published

Packages

No packages published

Languages