How to detect chart pattern efficiently in real time using python or any other scripting language ?
I want to detect various pattern like this kind logic
1. multiple rejection zone ( reject from a zones multiple time )
2. swing high & low zones
3. rejection prediction ( on wick zones of candle )
4. liquidity hunt ( grab liquidity by breaking high / lows )
This type of pattern comes in chart but not in a uniform way, thats why i am struggling to code with manual conditoins. How can i do this and create a model to find entry opportunity? Is it possible to implement using DL / Generative AI or howi can implement these parameters to find opportunity ?
Here, S&D is the multiple rejection zone ; R means rejection prediction ; two red horizontal line is the two swing point
Note : As my code is long, I am sharing the whole file. My attempt is here and dataset of 5 minute is here. Any kind of suggestion will be highly appreciated.