Harmonic Trading - page 309

 

Hello,

poruchik, can you please telme which is thebest Zup of all times as per your experience ?

 
grandaevus:
Then ExtDeltaStrongGartley is for 5 dot patterns like Bat, Gartley, ButterFly & Crab.

and ExtDeltaGartley is for others.(AB=CD , Alternate AB=CD, etc)

Right?

I have to add two Extern Parameters for ABCD pattern

//--------------- AB=CD ------------

extern bool ABCD = true;

extern bool visibleABCDrayZZ = true;

extern double ExtDevABCDLeg = 0.07;

extern double ExtDevABCDFib = 0.05;

extern int ABCDrayZZStyle = 0;

extern int ABCDrayZZWidth = 4;

extern string ABCDAlternate = "0.382,0.5,0.618,0.786,0.886,1.272,1.618,2.0,2.618";

for Real ABCD pattern , one parameter (ExtDevABCDLeg) checks the length of legs AB & CD ad other parameter ExtDevABCDFib checks the fib reciprocal ratios.

The Alternate AB=CD Pattern doesn't need a fib ratio check so it just uses ExtDevABCDLeg parameter to check legs are within the range.

So the code for ABCD pattern is

if (ABCD && StringLen(vNamePattern)==0 && PotencialsLevels_retXD<2)

{

vBullBear = "";

vNamePattern = "";

AB=MathAbs(zz[aXABCD] - zz[aXABCD[A]]);

CD=MathAbs(zz[aXABCD[D]] - zz[aXABCD[C]]);

retAC = (zz[aXABCD[C]] - zz[aXABCD]) / (zz[aXABCD[A]] - zz[aXABCD] + vDelta0);

retBD = (zz[aXABCD[C]] - zz[aXABCD[D]]) / (zz[aXABCD[C]] - zz[aXABCD] + vDelta0);

double checkLegsMin=1-ExtDevABCDLeg;

double checkLegsMax=1+ExtDevABCDLeg;

double checkFibRatioMin=1-ExtDevABCDFib ;

double checkFibRatioMax=1+ExtDevABCDFib ;

if(

(retAC>=0.382*checkFibRatioMin && retAC=2.240*checkFibRatioMin && retBD<=2.240*checkFibRatioMax)

||

(retAC>=0.382*checkFibRatioMin && retAC=2.618*checkFibRatioMin && retBD<=2.618*checkFibRatioMax)

||

(retAC>=0.500*checkFibRatioMin && retAC=2.000*checkFibRatioMin && retBD<=2.000*checkFibRatioMax)

||

(retAC>=0.618*checkFibRatioMin && retAC=1.618*checkFibRatioMin && retBD<=1.618*checkFibRatioMax)

||

(retAC>=0.707*checkFibRatioMin && retAC=1.414*checkFibRatioMin && retBD<=1.414*checkFibRatioMax)

||

(retAC>=0.786*checkFibRatioMin && retAC=1.270*checkFibRatioMin && retBD<=1.270*checkFibRatioMax)

||

(retAC>=0.886*checkFibRatioMin && retAC=1.130*checkFibRatioMin && retBD<=1.130*checkFibRatioMax)

)

{

if ( (CD>AB*checkLegsMin && CD zz[aXABCD] && zz[aXABCD[A]] > zz[aXABCD[C]] && zz[aXABCD[C]] > zz[aXABCD])

||

(CD>AB*checkLegsMin && CD<AB*checkLegsMax && zz[aXABCD[A]] < zz[aXABCD] && zz[aXABCD[A]] < zz[aXABCD[C]] && zz[aXABCD[C]] < zz[aXABCD])

)

{

vNamePattern=vABCD; // AB-CD

}

}

else

{

for (int iABCD=0;iABCD<_ABCDsize;iABCD++)

{

if ( (CD>_ABCDtype*AB*checkLegsMin && CD zz[aXABCD] && zz[aXABCD[A]] > zz[aXABCD[C]] && zz[aXABCD[C]] > zz[aXABCD])

||

(CD>_ABCDtype*AB*checkLegsMin && CD<_ABCDtype*AB*checkLegsMax && zz[aXABCD[A]] < zz[aXABCD] && zz[aXABCD[A]] < zz[aXABCD[C]] && zz[aXABCD[C]] < zz[aXABCD])

)

{

vNamePattern=_ABCDtypetxt+"*AB=CD";

break;

}

}

}

 

4 errors _________________

Files:
10881091.png  7 kb
 

last ZUP is the best

 

ExtDeltaGartley FOR ALL

ExtDeltaStrongGartley for 5 dot

 
poruchik:
4 errors _________________

Have you added

These Two lines

extern double ExtDevABCDLeg = 0.07;

extern double ExtDevABCDFib = 0.05;

to

//--------------- AB=CD ------------

extern bool ABCD = true;

extern bool visibleABCDrayZZ = true;

extern double ExtDevABCDLeg = 0.07;

extern double ExtDevABCDFib = 0.05;

extern int ABCDrayZZStyle = 0;

extern int ABCDrayZZWidth = 4;

extern string ABCDAlternate = "0.382,0.5,0.618,0.786,0.886,1.272,1.618,2.0,2.618 ";

 

it is OK now

 
poruchik:
ExtDeltaGartley FOR ALL ExtDeltaStrongGartley for 5 dot

Okay poruchik. Thanks

 

Dear Poruchik,

I see your are an experience person in here... I would like to exchange thoughts with you regarding harmonic trading. As per your experience, what is the perfect time frame for most least fake outs in harmonic Patterns ?

 

Dear Poruchik,

I see your are an experience person in here... I would like to exchange thoughts with you regarding harmonic trading. As per your experience, what is the perfect time frame for most least fake outs in harmonic Patterns ?

Reason: