is there any open source / commercial Java/C#/any language that has algorithm to detect base formation ?, see the base formation before Buy Point below.

enter image description here

  • $\begingroup$ Hi. Are you referring to the black resistance line, the SMA(50) or am I missing something completely? There are some TA packages in Python which might do what you want. The first is the Technical analysis library in Python and the other is the TA-lib. Take a look at the documentation, and try to find their Github pages, if you want to look at the source code :-) $\endgroup$
    – Pleb
    Dec 5 '21 at 9:56
  • $\begingroup$ Is it simply an upside breakout from a 30 day channel ? (i.e price went above highest high of last 30 days?). That would be easy to implement. Optionally you can require that the channel be sufficiently narrow (as a percentage of stock price) i.e. highest high and lowest low close together. $\endgroup$
    – noob2
    Dec 5 '21 at 15:53
  • $\begingroup$ yes, channel that gets narrower and then breakout of black resistance line. it is tradingsim.com/blog/volatility-contraction-pattern it might be N arbitrary days @noob2 $\endgroup$
    – Lydon Ch
    Dec 5 '21 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.