/sup-res

A great companion for finding support and resistance levels on financial charts.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Sup-Res 📈

For online demonstration -> https://arabacibahadir.github.io/sup-res/

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

git

Installation 🛠️

Sup-Res requires Python 3.10+ to run. Use the package manager pip to install libraries. This process may take a long time.

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 and Time Frame:
BTCUSDT 15M
Supported Tickers: All Binance tickers
Supported Time Frames: 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 git_tw_access.py file, and change your user handle name. Twitter API guide. Then uncomment save and twitter functions in main.py.

# Twitter api keys -> https://developer.twitter.com/en/docs/twitter-api
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.

chart

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.

image

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.

28sep

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.

legend

candle

Some screenshots 📸

BTCUSDT chart Jun-27-22BTCUSDT

proofsups

proof22

48500proof

works

Pine Script 📑

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

pinecodes

pine_trade

lines

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