For online demonstration -> https://arabacibahadir.github.io/sup-res/
Sup-Res is mobile-ready, offline-storage compatible and a great companion for drawing support and resistance lines with a scalable chart which is supports Tradingview Pine Script.
- 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
- Supports Tradingview Pine Script
- Automatically share to your twitter followers and timeline easily with an image and text of support-resistance levels
Sup-Res requires Python 3.6+ to run. Use the package manager pip to install libraries.
pip install candlestick-patterns-subodh101
pip install pandas
pip install pandas-ta
pip install plotly
pip install tweepy
In settings.py
file you should change what pair do you want to use.
exchange_name = 'Binance' # Which exchange you want to use
coin_name = 'BTC'
pair_name = 'USDT'
time_series = 'd' # "d" for daily chart
# Example -> Output should looks like "Binance_BTCUSDT_d.csv" end of the code
If you want to share as a tweet, change api keys with yours in git_tw_access.py
file.
# Twitter api keys
tw_api = 'YOUR-API'
tw_key_secret = 'API-SECRET'
tw_token = 'TOKEN'
tw_token_secret = 'TOKEN-SECRET'
When you run the code, the local web page will open where you can see the support resistance zones, rsi, sma, macd, fibonacci, candlestick patterns. It will share tweet automatically.
Alghoritms may not be able to catch some support and resistance lines due to sensitivity. You can get more precise lines by changing sensitivity of the data in the code.
If you encounter an index error, try the only_chart.py version. Some data may be corrupt or not working.
A lot of new investors are investing without having any technical knowledge. Also those with a little experience follow the price movements 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.
- Not every support and resistance works in high volatility.
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.
28 September 2021 BTCUSDT Binance
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.
ETHUSDT chart
BTCUSDT chart
Sup-Res supports Pine Script scripting language. Just run main.py file, then copy "pinescript" output and paste Tradingview Pine Script section.
Pull requests are welcome. Before PR please open an issue what you would like to change.
Follow PEP 8 Coding Style guidelines.
Sup-Res is licensed under the GNU General Public License v3.0