BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: 1-2-3 High Low Pattern and Ross Hook
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

1-2-3 High Low Pattern and Ross Hook

 Post Reply Post Reply
Author
Message / View First Unread Post
jazza View Drop Down
Regular
Regular
Avatar

Joined: 10 Aug 2007
Posts: 33
Post Options Post Options   Quote jazza Quote  Post ReplyReply Direct Link To This Post Topic: 1-2-3 High Low Pattern and Ross Hook
    Posted: 01 Jun 2012 at 12:29pm

Hi fellow forum members. I have been struggling to convert these Metastock formulas for the 1-2-3 Pattern and the Ross Hook. (Similar Patterns)

Can anyone help. Would be much appreciated.

Thanks in advance.

Jazza

 

1-2-3 High or Low

LOW
Mx:=Mov(L,4,S);
L > Ref(L,-1) AND L>Mx AND
Ref(L,-1) < Ref(Mx,-1) AND
LLV(L,4 ) > LLV(L,10 ) AND
RSI(14)<50

HIGH
Mx:=Mov(H,4,S);
H < Ref(H,-1) AND H < Mx AND
Ref(H,-1) > Ref(Mx,-1) AND
HHV(H,4 ) < HHV(H,10) AND
RSI(14)>50

(Go Top)

1 2 3 Ross Hook

Col A: Peak(1,H,10)<=1.1*Peak(2,H,10)
AND Peak(1,H,10)>=0.9*Peak(2,H,10)
AND Trough(1,L,10)>=1.1*Trough(2,H,10)
AND Trough(1,L,10)<=0.9*Trough(2,H,10)
AND LLV(L,25)
Col B: Peak(1,H,5)<=1.1*Peak(2,H,5)
AND Peak(1,H,5)>=0.9*Peak(2,H,5)
AND Trough(1,L,5)>=1.1*Trough(2,H,5)
AND Trough(1,L,5)<=0.9*Trough(2,H,5)
AND LLV(L,25)
Col C: Peak(1,H,1)<=1.1*Peak(2,H,1)
AND Peak(1,H,1)>=0.9*Peak(2,H,1)
AND Trough(1,L,1)>=1.1*Trough(2,H,1)
AND Trough(1,L,1)<=0.9*Trough(2,H,1)
AND LLV(L,25)

Filter colA=1 OR colB=1 OR colC=1

Back to Top
maximo View Drop Down
BullCharts Guru
BullCharts Guru
Avatar

Joined: 02 Sep 2006
Location: Australia
Posts: 232
Post Options Post Options   Quote maximo Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jun 2012 at 11:54pm
Hi Jazza,
 
I got the 1-2-3 Patterns working.
 
 
{ Indicator Name: 1-2-3 Patterns }

[Target=price]

{ RSI }

n := input("RSI period",14,1);

nb:= n*2-1; {=wilder's smoothing }

Su:=Ma(If(C-Ref(C,-1) > 0, C-Ref(C,-1), 0),nb,E);

Sd:=Ma(If(C-Ref(C,-1) < 0, Ref(C,-1) - C, 0),nb,E);

rs:=100-100/(1 + (Su/sd));

{ 1-2-3 HIGH }

Mx:=Ma(H,4,S);

SigLong:=H < Ref(H,-1) AND H < Mx AND

Ref(H,-1) > Ref(Mx,-1) AND

HHV(H,4 ) < HHV(H,10) AND

rs>50;

[name=1-2-3 HIGH; linestyle=marker; marker=type2]

If(SigLong and SigLong <> hist(SigLong,1),1,0);

{ 1-2-3 LOW }

My:=Ma(L,4,S);

SigShort:=L > Ref(L,-1) AND L >My AND

Ref(L,-1) < Ref(My,-1) AND

LLV(L,4 ) > LLV(L,10 ) AND

rs<50;

[name=1-2-3 LOW; linestyle=marker; marker=type1]

If(SigShort and SigShort <> hist(SigShort,1),1,0);

Back to Top
jazza View Drop Down
Regular
Regular
Avatar

Joined: 10 Aug 2007
Posts: 33
Post Options Post Options   Quote jazza Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jun 2012 at 2:22am

Hi Maximo,

Many thanks for the getting the Classic 1-2-3 pattern working. Now loaded and will analyze over the ensuing months

Where would the Bullcharts community be without your continuous Bullscript contributions.

Very much appreciated for your time and effort.

Cheers Jazza Clap

 

Back to Top
stefanols View Drop Down
Newbie
Newbie
Avatar

Joined: 29 Jul 2010
Location: Sweden
Posts: 8
Post Options Post Options   Quote stefanols Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jun 2012 at 6:01pm
Hi Maximo,
 
Nice work with the 123 high and low. It would be great if
you could make the Ross Hook to work as well.
 
Thanks Stefan
Back to Top
maximo View Drop Down
BullCharts Guru
BullCharts Guru
Avatar

Joined: 02 Sep 2006
Location: Australia
Posts: 232
Post Options Post Options   Quote maximo Quote  Post ReplyReply Direct Link To This Post Posted: 25 Jun 2012 at 4:16pm
Hi stefanols,
 
There is no distinction between 123 High-Low and 123 Ross Hook. 
They are one in the same.  A 'Ross Hook' is actually a fractal point
and 3 of those fractal points of Highs-Lows form a 123 pattern or
what Ross likes to call a 123 Ross Hook, no difference.
 
If you are referring to the other formula, then it's limited to finding
10% swings or greater.  Switching to weekly charts and using the
indicator I posted will find these and more, inc. those below 10%.
 
Good trading!
 


Edited by maximo - 25 Jun 2012 at 4:20pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz