Harmonic Pattern Finder V3:
Author: Andre Enger
It can not be said about the author of this indicator
Its value is infinite.
Thanks for your trouble and time
this is really great work! thanks for sharing!
any chance you can add more icustom function for each X,A,B,C leg the price and bar so i can check each zigzag with other indicators?
also it would be really great when u can add TP ans SL as icustom.
but in any case thank you very much!
icustom is not used in this indicator for several reasons:
Firstly, if considering going for an approach with copying of buffers,
be aware that only double typed arrays are sharable through ICustom().
This means that you would need one array for each of the points, times
that for each of the patterns. So suddenly you would need to have
4*18=72 buffers just for the AB=CD patterns, and twice that number for
both projected and active patterns. Not to mention continuous
reprocessing of these arrays to avoid "old" patterns confusing the
receiving EA. Also how would this fare when the same pattern type (e.g. "bullish Gartley") is seen several times in an overlapping manner? Therefore codifying the pattern matches just doesn't seem sensible to me.
The solution is rather to implement either the HPFMatchProcessor or the HPFObserver interface as outlined in the indicator description. If you implement the first you can reuse the pattern matching algorithm in its raw form. If you implement the second interface it's plugged into the indicator as an extension. This has the benefit that each match gets called only once, only if it is valid according to filtering rules, knowing if it is testing the PRZ, etc. The parameter(s) of the interface methods have a structure which gives the bar number and prices for each point in the pattern making it simple to correlate.