Auto-detect Support and Resistance in Python

  Рет қаралды 24,400

Chad Thackray

Chad Thackray

Күн бұрын

Пікірлер: 55
@k2icc
@k2icc 2 жыл бұрын
Definitely a great job there and a very nice tutorial. I love technical indicators, but Python has given me a lot when it comes to manipulate or handle data for a visual presentation.
@DMInverse
@DMInverse 4 ай бұрын
Great explanation of the technique. I used to do a function examining if the high was equal to the max highs of each candle and the two candles on each side of it, and same for the lows, but this seems more efficient. Cheers!
@anilmm2005
@anilmm2005 Жыл бұрын
Thanks lot Chad can you confirm how to get the code shown in the video?
@jorgeplaza7938
@jorgeplaza7938 Жыл бұрын
Thanks for the video! Tried many aproaches to this matter and certainly yours is the best. KDE is a very interesting concept I now fully understand.
@daymaker_trading
@daymaker_trading Жыл бұрын
Wow, this is gold! Thanks so much for sharing your knowledge ❤
@paulbrown5839
@paulbrown5839 Жыл бұрын
Very solid piece of work this Chad. I've just been through it again and will take some of your innovative ideas from it. Cheers.
@whatsthememe2913
@whatsthememe2913 2 жыл бұрын
This exactly what I was looking for! Chad you’re a lifesaver. Next step would be to create a strategy on this information in python!
@ThinAirElon
@ThinAirElon 2 жыл бұрын
High Quality Channel on Algo
@ChadThackray
@ChadThackray 2 жыл бұрын
Thanks!
@proexcept
@proexcept Ай бұрын
Thanks for a great food for thought!
@TavoPlus
@TavoPlus Жыл бұрын
Excellent, I tried and personalized your code. Thank you, it helped me a lot!
@segunda_parte
@segunda_parte 11 ай бұрын
Thank you very much for the video. How can I make the volume be taken into account to give more relevance to the candles that have greater volume?
@GlebKretinin
@GlebKretinin 2 жыл бұрын
Great job Chad! Thank you for sharing!
@BeyondTheHodl
@BeyondTheHodl Жыл бұрын
great video! Just wondering once you get the horizontal lines like you did at 13:38 how would I go about creating code so that the horizontal line stops once price hits it/crosses it?
@eige2992
@eige2992 Жыл бұрын
hello, great concept! i was in a confusion when I had to decide how to group the extrema values, but the concept of KDE in your video was very helpful. I guess you could try to find the peaks and trough separately instead of combining them together and running separate KDE algorithms to both of those values to differentiate support and resistance lines?
@UnbenutzerKanalname
@UnbenutzerKanalname Жыл бұрын
i was trying to use a simple histogram for the min/max values, but the kernel is a great idea. thanks!
@rabbitgomes5817
@rabbitgomes5817 Жыл бұрын
hey Chad! nice video, and awesome approach with signal processing and kde! Can you supply the code behind the "draw_candle_chart" function? I believe thats in the top of the notebook, but can't see it clearly on the video.
@ChadThackray
@ChadThackray Жыл бұрын
If you lookup "How to Create a Candlestick Chart Using Matplotlib in Python" that's the code I used. At some point I'm planning on going through and linking all the code from my videos, but will take a few months
@MaheraSALALAMANDIMBYHASINA
@MaheraSALALAMANDIMBYHASINA 4 ай бұрын
Hi, how you difine which of the line is support and which is resistance? beacause the algorithm seems to draw only the, but what about the classification? need help
@valueray
@valueray Жыл бұрын
where is the jupyter?
@mohitgarg4168
@mohitgarg4168 2 жыл бұрын
Fantastic work Chad..!! Can you please share a link to download this Jupyter notebook.
@davidberry8511
@davidberry8511 2 жыл бұрын
Great video, support and resistance is a big topic to code since it is so subjective. Where can I download the your code fom this lesson?
@mehranhub8312
@mehranhub8312 Жыл бұрын
you are amazing man please keep going on your educations😍
@2907866
@2907866 2 жыл бұрын
Great information and tutorial!
@karlbooklover
@karlbooklover 2 жыл бұрын
was just thinking about codifying patterns into vectorbt, this should work to implement as a strategy, thanks! :)
@brich8110
@brich8110 2 жыл бұрын
Really really helpfull video, also what a great idea that you can try is to use some AI to learn with a volume indicator (for example) what support and res are more likely to be "respected". Thansk alot for the vid (Pretty sure you can do it with scikit
@SkyRiderJavelin
@SkyRiderJavelin 2 жыл бұрын
Brilliant work Chad
@zacharyperryman8663
@zacharyperryman8663 8 ай бұрын
Do you ever post your code so that followers can mess around on their own? Thanks!
@kurdmanpar5706
@kurdmanpar5706 2 жыл бұрын
Thank you for your good video. If this project is more complete to clearly define the lines of resistance and support, it will be very valuable. sincerely.
@rickymacharm3437
@rickymacharm3437 2 жыл бұрын
lovely video. for the interval could you test with ATR or standard deviation so it works with the present volatility of the asset
@ChadThackray
@ChadThackray 2 жыл бұрын
This is a good idea!
@SY41LENDRA
@SY41LENDRA Жыл бұрын
i dont undesrtand about phyton coding, can you tell me what is the logic how to draw horisontal lines support and resistant in candlestick chart, i saw your video 14 minutes, i dont get the points
@TwelfthRoot2
@TwelfthRoot2 Жыл бұрын
i think weighting the S/R by volume could be helpful. great video.
@siddharththakur5978
@siddharththakur5978 Жыл бұрын
Why aren't we using moving average instead of kernel density?
@orderflow2322
@orderflow2322 2 жыл бұрын
it would be cool to see how to determine the flat algorithmically on python
@rowanans
@rowanans 2 жыл бұрын
very beautiful, Chad!
@dimayasnohurskyi2805
@dimayasnohurskyi2805 2 жыл бұрын
Do you have something similar for another TA stuffs, like triangles and etc?
@ChadThackray
@ChadThackray 2 жыл бұрын
Not yet!
@teddyperera8531
@teddyperera8531 3 ай бұрын
Thank you
@tilttrader
@tilttrader Жыл бұрын
awesome video.
@misaghesh4963
@misaghesh4963 2 жыл бұрын
Thank you for your good video
@kailee-st2mf
@kailee-st2mf Жыл бұрын
good job
@paulbrown5839
@paulbrown5839 2 жыл бұрын
What we want is the strongest support and resistance levels. There are rules about which level is strong, and which is weak. Apply those to filter the levels down to the best ones.
@FilSerge
@FilSerge 2 жыл бұрын
What qre these rules?
@paulbrown5839
@paulbrown5839 2 жыл бұрын
​@@FilSerge You can find them on YT..for example, a level near a round number is good, eg. 1.0850.
@monkeyloopingtrading2013
@monkeyloopingtrading2013 2 жыл бұрын
thank you ! i like it! but please help me. Why this error? NameError Traceback (most recent call last) Input In [131], in () ----> 1 draw_candle_chart(sample_df, price_range[peaks]) NameError: name 'draw_candle_chart' is not defined. i'm so frustrated🙃😊
@ChadThackray
@ChadThackray 2 жыл бұрын
You'll need to define a function to draw a candle chart, it's not built in. I copy-pasted the one from a website called statology and it worked pretty well
@CptnYarface
@CptnYarface 7 ай бұрын
He used a function called 'draw_candle_chart' to make the final plots with the support levels included. Statology has an example of how a candlestick chart can be made, but to overlay the support levels and create the "error bars," you will have to adapt the code yourself and create your own plotting function.. or maybe ChatGPT can help. I use mpf.plot(df, type='candle') to make candle charts, where df is a DataFrame with 'Open', 'High', 'Low', and 'Close' prices for the stock. Would have been nice to see the code for his function, for sure, but it will be an adventure trying to figure it out, at least lol
@akbarboghani1
@akbarboghani1 2 жыл бұрын
Thanks Chad.
@rezasadeghi2520
@rezasadeghi2520 2 жыл бұрын
thank you :)
@DailyGameMoments7
@DailyGameMoments7 7 ай бұрын
Find it difficult to comprehend the logic and codes
@GohOnLeeds
@GohOnLeeds 4 күн бұрын
1) By specifying 2-4 peaks, you are forcing data to conform to something which it might well not be. For any timeseries, you simply don't know it is going to contain 2-4 peaks, right? Could be 2, could be 50. That's for the data to dictate. 2) Any support/resistance algo should take trading volume into account. All price points are not created equal! 3) Doing SR using your method doesn't allow you to bias more recent peaks.
@anthonychung8112
@anthonychung8112 2 ай бұрын
AWS settings demo \
@bikramssharemarkettradingc7366
@bikramssharemarkettradingc7366 2 жыл бұрын
Your video is great, but there is. Some theory part. Not very easy for persons new to machine learning
@FilSerge
@FilSerge 2 жыл бұрын
There's no ML, just pure statistics.
Multi-timeframe Strategies in Backtesting.py
13:02
Chad Thackray
Рет қаралды 10 М.
Automated Support and Resistance Detection in PYTHON
19:25
CodeTrading
Рет қаралды 66 М.
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
Detecting Price Trends in python - Higher Highs, Higher Lows
24:18
Chad Thackray
Рет қаралды 33 М.
Support, resistance and swing points in Python
14:29
East West Trading
Рет қаралды 2,3 М.
Mastering SUPPORT & RESISTANCES using Python!
11:42
Algovibes
Рет қаралды 26 М.
Reinforcement Learning - My Algorithm vs State of the Art
19:32
Pezzza's Work
Рет қаралды 153 М.
Walk Forward Optimization in Python with Backtesting.py
1:03:20
Chad Thackray
Рет қаралды 18 М.
Trading Indicator Analysis: CHOCH Indicator Python Implementation
14:10
Algorithmic trading in Python: Support and resistance
17:07
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН