Skip to content
 
 

Repository files navigation

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.

cropedgif

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, Telegram-bot

git

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.
btcusdt
Time frame: # 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d (m:minute, h:hour, d:day)
1d

If you want to share as a tweet, change api keys with yours in git_tw_access.py file. Twitter API guide.

# Twitter api keys
tw_api = 'YOUR-API'
tw_key_secret = 'API-SECRET'
tw_token = 'TOKEN'
tw_token_secret = 'TOKEN-SECRET'

Also change twitter handle name with your twitter handle name in is_image_tweet func in tweet.py file. For telegram, change your telegram bot api.

def is_image_tweet():
    stat = api.user_timeline(screen_name='@HANDLE-NAME', count=1)
    return stat[0]

If you don't want to use twitter, save or pinescript functions you can comment save, for_tweet or pinescript_code these functions.

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

btcusdt

Main Motivation

A lot of new investors are investing without having any technical knowledge. Also those with a 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 about 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. This is not a game and every day people lose all their money. Get your priorities straight.

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

  • Every investor's wallet and strategy is different.
  • Stay away from high leverage if you don't trust your experience.
  • Your priority should not be to make money, you should be try to save your money.
  • Supports and resistances formed in short time frames (5m, 15m, 1h) may be easier to break.

candle

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 is touched at least 2 times, if possible 3 times. If there are more touches, the 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. Be careful not to miss the news and fundamental analysis.

legend

Some screenshots

ETHUSDT chart

ethusdt

BTCUSDT chart

proofsups

proof22

48500proof

works

Pine Script

Sup-Res supports Pine Script scripting language. Just run main.py file, then copy "pinescript" output and paste Tradingview Pine Script section.

pinecodes

pine_trade

lines

Contributing

Pull requests are welcome. Before PR please open an issue what you would like to change.

Follow PEP 8 Coding Style guidelines.

License

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

About

A great companion for finding support and resistance lines.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages