PureBytes Links
Trading Reference Links
|
Murray: That looks right, if you're looking for Shark patterns on the most
recent day for your data. I ran it and it turned up a shark pattern in
CMCSK's chart, for example. You might not find a lot of shark patterns --
they're not all that common. You can also take out the "Shark=" and the
"Shark;" You can just have this:
Symmetry:=.28;
Apex:=(H+L)/2;
WB:=Ref(H,-2)-Ref(L,-2);
If((H<Ref(H,-1) AND L>Ref(L,-1) AND Ref(H,-1)<Ref(H,-2) AND
Ref(L,-1)>Ref(L,-2)),
If(apex <= (Ref(H,-2)-(WB*Symmetry)) AND Apex >=
(Ref(L,-2)+(WB*Symmetry)) ,1,0),0);
-----Original Message-----
From: M Richards <m4murray@xxxxxxxxxx>
To: Metastock@xxxxxxxxxx Com <metastock@xxxxxxxxxxxxx>
Date: Tuesday, January 26, 1999 4:48 PM
Subject: Shark 32 setup
>Brooke,
> I wanted to do explorations for securities that had formed a shark
>pattern but had not broken above/below the
>signal bar. I tried the exploration below but suspect something is wrong.
>Any help will be appreciated.
>
>Murray
>
>Filter
>Symmetry:=.28;
>
>Apex:=(H+L)/2;
>
>WB:=Ref(H,-2)-Ref(L,-2);
>
>Shark:=If((H<Ref(H,-1) AND L>Ref(L,-1) AND Ref(H,-1)<Ref(H,-2) AND
>Ref(L,-1)>Ref(L,-2))=1,If(Apex <= (Ref(H,-2)-(WB*Symmetry)) AND Apex >=
>(Ref(L,-2)+(WB*Symmetry)) ,1,0),0);
>
>Shark;
>
|