Automated Support and Resistance Detection in PYTHON



This video describes an algorithm to detect support and resistance levels in python language, the code is provided for download from the link:
https://drive.google.com/file/d/17RoNUjMzO3rD1ipehyWI2B5UhAtMJY4s/view?usp=sharing
Data file used is available:
https://drive.google.com/file/d/1qnYyi0F7vi4ROsjPCYdE3UnrOYPqQdiY/view?usp=sharing

#trading #forex #stock market #price prediction #technical indicator #simple trading strategy #winning strategy #price action

source

29 thoughts on “Automated Support and Resistance Detection in PYTHON”
  1. Please dear, how do we go about it since S&R is a Zone and not just a Horizontal line and it is dynamic also, how will it be detected especially in higher time frames?

  2. Hi there, is there a way that i can confirm possible resistance and supports, for example if it touch the same level of resistance or support twice we can confirm its a valid point of resistance or support, I would love if u include it in the notebook, much thanks.

  3. An other idea could be to search for minimum value / maximum value in a range excluding the extremities (first and last value). Than you could shift the range and clean up the close lines, or better not to plot lines, but rather to fill the space between the close lines. It is not important to make difference between support and resistance by color, because support get resistance and resistance get support, this is why we are looking for them.

  4. thank you very much for your explanation, it was smooth and informative

    I would like to ask you if it is possible to automate the resistant and support points in yahoo finance instead of plotly.graph_objects

  5. Thanks for the video, is there a way to detect this kind of patterns: Ascending triangle, Descending triangle, Symmetrical triangle, Double top, Double bottom, Head and shoulders, Rounding bottom, Cup and handle

  6. plotlist1 = [x[1] for x in sr if x[2]==1] # stores values support
    plotlist2 = [x[1] for x in sr if x[2]==2] # stores values resistance

    Hi can you please explain this peice of code more?

  7. An idea for you:
    – scan values with 3 points window, if the middle point is between 2 other points – you can remove the middle point, repeat until there are no changes, in the end you'll have tops and bottoms
    – group tops: find the closest two lines and group them, repeat until you'll have an acceptable number of lines
    – do the same for bottoms to find supports

  8. Thanks alot for great content ! But 14:13 , i am trying to show dateTime instead of index go.Candlestick(x=dfpl.dateTime, my candlestick graph is disappear , and it is show from 1970-2020. Btw, my sr[list] is updated from row,price to dateTime,price, still it does not help! Could you please advice ?

  9. Hi I keep getting the error "FileNotFoundError Traceback (most recent call last)" where do you store the csv file ?

  10. Identifying Pivot, support and resistance lines is very good idea. I tried run code to get the same output you found. But, when I tried I encountered the followings two areas:
    AttributeError: 'DataFrame' object has no attribute 'low',

    AttributeError: module 'plotly.graph_objs' has no attribute 'Candilestick'

    How can you resolve these issues? Do you have specific code to resolve these issues? thanks.

  11. MY SUGGESTION TRY BACKTESTING WITH HARMONIC PATTERNS……. I'm multiple problems…your attempt will be appreciated

  12. And for pivot points, there will be a good video))) If you find divergence convergence on the RSI indicator, this is a signal for huge movements

  13. I also think it will be interesting for you to see how the levels of support and resistance correlate with the German DAX index! If you have chosen It EUR/USD is very important to combine several signals for a trade entry point .Maybe these are ideas for new videos)))

  14. I'm sure the channels would be of great help in finding the levels Support and Resistance ! Or Bollinger bands what is your opinion ??

  15. you have very strong videos, thank you very much. you have accumulated many formulas and strategies, why is there no pattern finder ?? it is very good to bring your work to a logical and complete end. systematize and recognize all well-known figures and patterns on candlestick charts

Leave a Reply

Your email address will not be published.

Captcha loading...