trendln
trendln copied to clipboard
Getting horizontal levels
Hi! I was looking for a library that does exactly this and i was delighted to find your article. I was wondering if there is a way to detect and plot only horizontal support/resistance levels instead of trendlines, as shown in this image. Thank you for what you are doing.
I suppose you can do a search in the min and max lists for equal values (within a certain percentage).