Print Page | Close Window

1-2-3 High Low Pattern and Ross Hook

Printed From: BullCharts Forum
Category: BullCharts
Forum Name: BullScript
Forum Discription: Technical discussion related specifically to the BullScript programming language.
URL: http://www.bullcharts.com.au/forum/forum_posts.asp?TID=837
Printed Date: 26 May 2024 at 11:32am
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: 1-2-3 High Low Pattern and Ross Hook
Posted By: jazza
Subject: 1-2-3 High Low Pattern and Ross Hook
Date 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

( http://www.meta-formula.com/Metastock-Formulas-A.html#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




Replies:
Posted By: maximo
Date 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);



Posted By: jazza
Date 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

 



Posted By: stefanols
Date 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


Posted By: maximo
Date 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!
 



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.69 - http://www.webwizforums.com
Copyright ©2001-2010 Web Wiz - http://www.webwiz.co.uk