Also, one minor detail in addition to the above: the descriptive enumerator (in "PATTERN_INDEX") must be placed after the "GARTLEY" enumerator. Mainly because the variables are translated into array locations where the first 36 are 4-point patterns and the rest 5-point patterns. This follows from the method:
bool Is4PointPattern(int index)
keeping track of whether a pattern is a 4 point pattern or a 5 point pattern when drawing them. So descriptive enumerators in the top of the enum will be drawn as 4 point patterns, and those at the back drawn as 5-point patterns. If a 4 point pattern is desired increment "NUM_4POINTPATTERNS" in addition to "NUM_PATTERNS" in HPFGlobals.mq5.
Thank you so much for the nice tools!
I am studying programming, but I am creating an EA.
When we want to make the entry point the timing when PRZ started, it is in trouble not to know what value should be judged by days.
Under what conditions (what value) is the PRZ start displayed by default?
The PRZ start (and end) denote the beginning and ending of what is referred to as the harmonic window in the code. Most patterns have 1-3 ratios concerning the D-point of the pattern, and the harmonic window starts when all these ratios are satisfied and ends when one ratio is no longer satisfied. Copy pasting from an earlier discussion on the matter:
D is an intersection in a set-theoretic sense, like the part which is
common/shared between all zones. I've tried to illustrate using paint
how this works on the Gartley, which have two ratios to be satisfied
w.r.t. point D and the rest:
Therefore a valid point D is in the common part of the two zones above, shown as the green part in the figure.
i will take this errors when i want compile
'_drawer' - semicolon expected HarmonicPatternFinderV3.mq5
'SetBar' - struct or class type expected HarmonicPatternFinderV3.mq5
plz help me friend
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?
I am really thankful of you for sharing this indicator. Its just awesome, finds very difficult patterns.
Can you create a MT4 version ? It will be very helpful for me.