Hi,
I am planning to capture chart patterns like ABCD, Triangle, Flag etc (based on price action) through programming.
Can you please guide me to right source that can help
Hi Santhosh,
In Python, you can use the TA-Lib library to capture candlestick patterns based on price.
Can refer to this article for the implementation of the same.
Hope that helps.
Interesting question. Looks like you are trying to do automatic pattern recognition. One of the first attempts on this was investigated by Lo et al in their seminal paper "Foundation of Technical Analysis" back in 2000. I suggest you read it to get a general understanding (if not already done). I think most methods today follow variations of this approach. A while back I developed an approach with some improvements - see here. This implementation is in R, but we have a plan to migrate this to Python on blueshift in future.
This appraoch works if you know what you are looking for - i.e. you can exactly encode the patterns to match. In general you can also explore time series motiff discovery.