garrei
I believe to write a code that identifies these pattern is quite a serious job.
I am familiar with them, or other versions of them, but almost for sure will be possible to identify the entry point quite well by using a divergence based system. I am pretty positive that standard overbought/oversold indicators (like RSI, RMI or newer mathematical versions of them) are able to identify the end of trend situation like you described in your document.
I am in the process to build my 1st stable and - hopefully - eficient trading system and an indicator that identifies the divergence between the price and another indicator should be part of it.
I hope my personal oppinion could have provided you with an alternate solution.
Guara