You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
________________
A5:0 - mirror 5:0
Hello all,
I've been modifying the ZUP indicator (v130) to suit some patterns that I like to trade.
I've managed to modify the five point patterns, but I would like to enter some custom 3 and 4 point patterns.
I'm "average intermediate" at editing mql4, but given the size of this indicator (and that I can't read most of the explanation tags), any hints about where to start would be very much appreciated!
Thanks,
honestknave
show your patterns
show your patterns
Thanks for the reply.
The 4 point pattern is a specific variant of AB=CD.
Point C is defined as 0.618 - 0.786 retracement of AB
For point D, the parameters will depend on the limitations of ZUP.
Ideally, it is defined by 3 parameters:
1.272 extension of AB (primary parameter)
1.382-1.618 retracement of BC
Completion of AB=CD
(I can't seem to post image attachments - maybe a restriction on new members?)
Hello all,
I've been modifying the ZUP indicator (v130) to suit some patterns that I like to trade.
I've managed to modify the five point patterns, but I would like to enter some custom 3 and 4 point patterns.
I'm "average intermediate" at editing mql4, but given the size of this indicator (and that I can't read most of the explanation tags), any hints about where to start would be very much appreciated!
Thanks,
honestknaveStarting with zup v120, nen uses arrays to define 5 dot harmonic patterns. This makes it very easy for traders who have little or no experience in programming to add their custom patterns
You can modify arrays written below and add your 5 point custom patterns. For 3 & 4 point patterns you have to write code.
Older versions till v113, you have to write your own code from beginning to end.
bool CustomPat_[27];
string namepatterns[27]=
{"Gartley", "Bat", "A Alternate Shark", "A Nen STAR",
"Butterfly", "Crab", "A Shark", "A Cypher",
"A Butterfly", "A Crab", "Shark", "Cypher",
"A Gartley", "A Bat", "Alternate Shark", "Nen STAR",
"Alternate Bat", "Deep Crab", "Black swan",
"max Bat", "max Gartley", "max Butterfly",
"TOTAL 1", "TOTAL 2", "TOTAL 3", "TOTAL 4", "TOTAL"};
double minXB_[27]=
{0.618, 0.382, 0.446, 0.5,
0.786, 0.382, 0.446, 0.5,
0.382, 0.276, 0.382, 0.382,
0.618, 0.382, 0.382, 0.382,
0.382, 0.886, 1.382,
0.382, 0.382, 0.618,
0.382, 0.382, 0.276, 0.382, 0.276};
double maxXB_[27]=
{0.618, 0.5, 0.618, 0.786,
0.786, 0.618, 0.618, 0.786,
0.618, 0.446, 0.618, 0.618,
0.786, 0.618, 0.618, 0.618,
0.382, 0.886, 2.618,
0.618, 0.618, 0.886,
0.786, 0.786, 0.618, 0.786, 0.786};
double minAC_[27]=
{0.382, 0.382, 0.618, 0.707,
0.382, 0.382, 0.618, 0.707,
1.128, 1.128, 1.128, 1.128,
1.128, 1.128, 1.128, 1.128,
0.382, 0.382, 0.236,
0.382, 0.382, 0.382,
0.382, 0.382, 1.128, 1.128, 0.382};
double maxAC_[27]=
{0.886, 0.886, 0.886, 0.886,
0.886, 0.886, 0.886, 0.886,
2.618, 2.618, 1.618, 1.414,
2.618, 2.618, 1.618, 1.414,
0.886, 0.886, 0.5,
0.886, 0.886, 0.886,
0.886, 0.886, 2.618, 2.618, 2.618};
double minBD_[27]=
{1.272, 1.618, 1.618, 1.618,
1.618, 2.24, 1.618, 1.618,
1.272, 1.618, 1.618, 1.272,
1.618, 2.0, 1.618, 1.272,
2.0, 2.618, 1.128,
1.272, 1.128, 1.272,
1.272, 1.618, 1.272, 1.618, 1.272};
double maxBD_[27]=
{1.618, 2.618, 2.618, 2.618,
2.618, 3.618, 2.618, 2.618,
1.272, 2.618, 2.236, 2.0,
1.618, 2.618, 2.236, 2.0,
3.618, 3.618, 2.0,
2.618, 2.236, 2.618,
2.618, 3.618, 2.618, 2.618, 3.618};
double minXD_[27]=
{0.786, 0.886, 0.886, 0.786,
1.272, 1.618, 1.128, 1.272,
0.618, 0.618, 0.886, 0.786,
1.272, 1.128, 1.128, 1.272,
1.128, 1.618, 1.128,
0.886, 0.618, 1.272,
0.786, 1.128, 0.618, 1.128, 0.618};
double maxXD_[27]=
{0.786, 0.886, 0.886, 0.786,
1.618, 1.618, 1.128, 1.272,
0.786, 0.618, 0.886, 0.786,
1.272, 1.128, 1.128, 1.272,
1.128, 1.618, 2.618,
0.886, 0.786, 1.618,
0.886, 1.618, 0.886, 1.272, 1.618};
Starting with zup v120, nen uses arrays to define 5 dot harmonic patterns. This makes it very easy for traders who have little or no experience in programming to add their custom patterns
You can modify arrays written below and add your 5 point custom patterns. For 3 & 4 point patterns you have to write code.
Older versions till v113, you have to write your own code from beginning to end.
Thanks for the reply. Fortunately, I had been working on v130 so I'd already changed the 5 point patterns.
I don't mind coding, the problem is making sure I don't "break" something in the process (given the size of indicator and there not being much information in english).
One option I'll try is giving a very large min/max range for XB / XD, which should effectively make a 5 point XABCD into a 4 point ABCD... I see how I get on!
Thanks for the reply. Fortunately, I had been working on v130 so I'd already changed the 5 point patterns.
I don't mind coding, the problem is making sure I don't "break" something in the process (given the size of indicator and there not being much information in english).
One option I'll try is giving a very large min/max range for XB / XD, which should effectively make a 5 point XABCD into a 4 point ABCD... I see how I get on!Could you please share your custom patterns?
Could you please share your custom patterns?
Ah, I wish they were something new but unfortunately they are not!
I only trade a handful of very well-known patterns (Gartley, Bat, Butterfly, Crab, AB=CD), so I simply removed the ones I don't use and then modified the XB / AC / BD / XD ranges for those which I kept (I use smaller, rather than different, fib ranges).
As an aside, giving large ranges for XB/XD appears to work for custom 4 points, and large ranges for XB/XD/AC for custom 3 points.
Can someone post the 1-2-1 fibonaccis? Thanks.