andredumas / techan.js

A visual, technical analysis and charting (Candlestick, OHLC, indicators) library built on D3.
http://techanjs.org/
MIT License
2.39k stars 533 forks source link

Automatic support/resistance line algorithm #2

Open andredumas opened 9 years ago

andredumas commented 9 years ago

I'm searching for a reliable algorithm to detect support and resistance lines.

Once found I'll add it in.

chip-and-dail commented 8 years ago

You found the algorithm?

andredumas commented 8 years ago

Not yet. Although haven't been trying too hard to find one. I'm using other methods at the moment.

chip-and-dail commented 8 years ago

ok, thanks!

andredumas commented 7 years ago

http://stackoverflow.com/questions/8587047/support-resistance-algorithm-technical-analysis/8590007#8590007

andredumas commented 7 years ago

http://stackoverflow.com/questions/373186/mathematical-function-differentiation-with-c/373265#373265

andredumas commented 7 years ago

Early tests looking good :smile:

Pivot point detect and draw supstance on tops and bottoms: auto-support-resistance

jonathandezoete commented 6 years ago

hi @andredumas , I don't know if you even finished this, but i'm trying to implement this in gekko (https://github.com/askmike/gekko). Yours looks already awesome! Would you be so kind to share your algo? Thanks!

bennycode commented 6 years ago

Would it help to convert this one into JavaScript? https://kite.trade/forum/discussion/1047/a-simple-python-function-to-detect-support-resistance-levels

adgeese commented 6 years ago

sr.txt

Tested with and without data source. I found this code and modified it to work stand alone and as a module. Might be helpful for future searches. Enough said.

harttraveller commented 5 years ago

Hey don't know if this thread is still active, but I've created and posted a fairly rough module which does this, shouldn't be to hard to modify it after downloading to your specifications either. https://github.com/harttraveller/roughsr2