Exploration - Gartley

iitrader

Newbie
Messages
3
Likes
0
Hello,

I've been looking around for the code of Gartley Exploration!!!! :eek:

Does anybody know how to code it, in Metastock? ie, finding Gartley patterns in Metastock Explorer or rather finding AB = CD thru swings?

Thanx for the help in advance!!!!!

-iitrader.
 
See following site...

http://www.harmonictrader.com/excerpt2ht.htm

Also see a code from Jose's site which is called harmoinic pattern indicator.

You may want to tweak the code to suit your requirement....

MetaStock -> Tools -> Indicator Builder -> New
Copy and paste formula below.

===========================
Harmonic Pattern Correlator
===========================
---8<---------------------------

{ Stock/Harmonic Pattern correlator v1.0 }
{ Plot on own window below price chart }
{ Zoom out & cycle trough stocks }
{ Search for meaningful patterns }
{ ©Copyrite 2004 Jose Silva }
{ http://www.metastocktools.com }

xshift:=Input("x wave shift (0~100)%",
0,100,50)/100+1;
yshift:=Input("y wave shift (0~100)%",
0,100,33.333333)/100+1;
zshift:=Input("z wave shift (0~100)%",
0,100,20)/100+1;
scalar:=Input("Scalar (1-100)",1,100,33.333333);

x:=Sin(Power(Cum(1/H),xshift));
y:=Sin(Power(Cum(1/L),yshift));
z:=Cos(Power(Cum(1/C),zshift));
odd:=Cum(1)/2=Int(Cum(1)/2);
pattern:=If(odd,x+y-z,x-y+z)*scalar;

pattern


---8<---------------------------


http://www.metastocktools.com
 
Hello zambuck,

Thank You very much for your reply.

This is just a indicator, what I was looking out for was an exploration, which you identify the gartley patterns, or rather AB = CD!!!!!!!

How can I put this in an exploration? I think it will require a lot of tweaking.

Anyways, this would really help me getting started.

Thank You again very much, You have been a great help.

-iitrader
 
I think you will have to play with the indicator code to see if you can tweak it to run for am exploration.....

Generally the codes for Indicator and Explorations are the same....

Perhaps you can run this indicator on chart and then run exploration on that indicator when certain line reaches a figure or crosses a point...????

There are lots of ways to achieve this......I think it's time to burn the midnight oil...!!!
 
zambuck said:
I think you will have to play with the indicator code to see if you can tweak it to run for am exploration.....

Generally the codes for Indicator and Explorations are the same....

Perhaps you can run this indicator on chart and then run exploration on that indicator when certain line reaches a figure or crosses a point...????

There are lots of ways to achieve this......I think it's time to burn the midnight oil...!!!


Yes, very true, been doing it !!!!!! :idea:
 
Top