Hi Andre, thank you very much for sharing this incredible indicator. Much appreciated. Could you please check the following variable
declarations on file "HPFMatcher.mqh":
Should these be "bool" instead of "double" ? It is uncertain what the result would be for bool b1 = (bool b2 &&
For those interested, trading statistics based on SP500 data are shown on chart. With weekly data, the Cypher pattern did catch the bullish retracement at the end of March 2020.
Est! Est! Est! Said a Bavarian bishop commissioned by the German emperor to find the best Italian wine when he found it. Est! Est! Est! I say about this indicator. This is the indicator !!! If you know how to use it, it has great value for you. Thank you for sharing it.
Another community member claims to have ported it, perhaps an MQ4 version is published soon.
Fantastic work, thanks a million for sharing your code!!
I was wondering if there is a way to display only the patterns that have reached a success rate higher than a given threshold without modifying the code?
No there are not ways to do it without modifying the code, or even better, adding a custom filter as explained in the description.
Hi Andre, thank you very much for sharing this incredible indicator. Much appreciated. Could you please check the following variable declarations on file "HPFMatcher.mqh":
Should these be "bool" instead of "double" ? It is uncertain what the result would be for bool b1 = (bool b2 && double x);
Well that is correct, but those two functions are "dead code" so nothing to worry about fortunately. Was thinking about drawing a PRZ with edges defined by the nearest special harmonic numbers (instead of slack) but dropped the idea and forgot to delete those incomplete functions before publishing the indicator.
In the setting there is a "Max. history bars to process" setting (default 1000). The indicator starts this many bars back in a forwardly sliding window approach searching for pattern matches. Whenever there is a match it remembers it as a Success and draws the pattern, whenever there is a Failed pattern it does not draw it but still remembers it. By dividing the total number of successes by the total number of occurences (Successes + Failures), one obtains the Prob. corresponding to the empirical probability of a pattern success. But this metric is somewhat misleading for trading purposes because certain patterns like the Max. Gartley have a wide PRZ giving a wide price range for where the zigzag might reverse by chance. The standard Gartley has a more narrow PRZ usually causing a lower success rate, but as the zigzag must reverse in a more precisely defined range, it might be a better pattern for trading.
Updated version Candle history was not working properly. Thank you @encino for bringing this up to my attention.
I'm getting error compile Harmonic Pattern Finder v3, although i have placed all the necessary headers in the include folder.
Installed the indicator on MT5 build 2665.
Never i have figure out what is the problem.
Finally its working.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.