make-j64 / sup-res

A great companion for finding support and resistance levels.

Home Page:https://arabacibahadir.github.io/sup-res/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  • Manageable via Telegram
  • WebUI

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, and change your user handle name. Twitter API guide. Then uncomment save and twitter functions in main.py.

# Twitter api keys
tw_api = 'YOUR-API'
tw_key_secret = 'API-SECRET'
tw_token = 'TOKEN'
tw_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.

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. Get your priorities straight.

Supports and resistances are generally zones, not just lines. Especially in cryptocurrencies, markets push you towards the points where you can stop your position. 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.
  • 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.

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.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

About

A great companion for finding support and resistance levels.

https://arabacibahadir.github.io/sup-res/

License:GNU General Public License v3.0


Languages

Language:Python 100.0%