Awesome Open Source
Awesome Open Source

Sup-Res 📈

For online demonstration ->

Sup-Res is mobile-ready, offline-storage compatible and a great companion for finding support and resistance lines with a scalable chart.

ezgif com-gif-maker

Features 🌟

  • Easily find support and resistance levels on the chart
  • Using it in almost any time series with sensitivity adjustment
  • Export documents as HTML, PDF, .jpeg, .png
  • Automatically share to your twitter followers with an image and text of support-resistance levels
  • Supports Tradingview Pine Script
  • Manageable via Telegram
  • WebUI


Installation 🛠

Sup-Res requires Python 3.6+ to run. Use the package manager pip to install libraries.

pip install -r requirements.txt

Usage 💻

When you run the code, main function will ask ticker and time frame and then the local web page will open where you can see the support-resistance levels, RSI, SMA, MACD, Fibonacci and candlestick patterns.

Ticker:  # "btcusdt, ethusdt, ethbtc, bnbbusd" etc.
Time frame: # 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d (m:minute, h:hour, d:day)

If you want to share as a tweet, change api keys with yours in file, and change your user handle name. Twitter API guide. Then uncomment save and twitter functions in

# Twitter api keys ->
twitter_api = 'YOUR-API'
twitter_key_secret = 'API-SECRET'
twitter_token = 'TOKEN'
twitter_token_secret = 'TOKEN-SECRET'
user_handle = '@HANDLE-NAME'

Pine Script file will be created after run successfully main function.

Your python alias could be different like "py, python3", you should change your alias if you are using telegram-bot if your python alias is different.

You can get more precise lines by changing sensitivity of the data in the code.


Main Motivation 📚

New investors are investing without having any technical knowledge. Also, those with little experience follow the price actions and make their buys and sells according to various charts. Technical analysis is the bulk of this work.

I worked on a code that could provide help for users who don't have much experience with price action. If you really have no idea and are investing, then don't. Before investing, you should observe the market movements and do not get FOMO.

Supports and resistances are generally zones, not just lines. Especially in cryptocurrencies, markets push you towards points where you can stop your position. Watch out for high volume breakouts, sudden price changes, and trend reversals. If you are investing in low volume coins, it is very dangerous to trade on new coin charts without support and resistance levels.


Support-Resistance Lines 📉

If a pair has failed to break a point multiple times or has risen by repeatedly tapping that point, you can draw a reliable line there. The general opinion is that this price should be touched at least 2 times, if possible, 3 times. If there are more touches, reliability increases. If the current price is above the old resistance, this resistance will act as support. Vice versa is also true.


28 September 2021 BTCUSDT Binance

Indicators 📊

MA, RSI, MACD, Fibonacci Retracement Levels, Candlestick Patterns

Never rely on just one piece of data and indicators, it can be misleading. Always include fundamental analysis alongside technical analysis.



Some screenshots 📸

BTCUSDT chart btc





Pine Script 📑

Sup-Res supports Pine Script scripting language. Just run file, then copy "./pinescript.txt" and paste Tradingview Pine Script section. Also telegram bot works with Pine Script.




Contributing 🤝

Pull requests are welcome, any contributions you make are greatly appreciated. Before PR please open an issue what you would like to change.

Follow PEP 8 Coding Style guidelines.

  • Fork the Project
  • Create your Feature Branch git checkout -b feature/NewFeature
  • Commit your Changes git commit -m 'Add some NewFeature'
  • Push to the Branch git push origin feature/NewFeature
  • Open a Pull Request

License 📃

Sup-Res is licensed under the GNU General Public License v3.0

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (806,114
Telegram (11,887
Bitcoin (11,416
Data Science (10,142
Stock (9,230
Cryptocurrency (7,561
Finance (6,990
Pandas (6,603
Telegram Bot (5,825
Binance (1,111
Binance Api (217
Tradingview (126
Pinescript (24
Algotrade (5