PureBytes Links
Trading Reference Links
|
PTC Man
This will select the pattern bars (5 bars - not 4) ONLY when your pattern,
'A', is true. No historical patterns will be highlighted. Interestingly i
could not get the pattern to show up on any of 1400 plus stocks on the
current bar unless I excluded one element of the pattern.
{highlight 5 bar pattern}
A:= H<Ref(H,-1) AND L>Ref(L,-1) AND
Ref(H,-1)>Ref(H,-2) AND Ref(L,-1)>Ref(L,-2) AND
Ref(H,-2)<Ref(H,-3) AND Ref(L,-2)<Ref(L,-3) AND
Ref(H,-3)>Ref(H,-4) AND Ref(L,-3)>Ref(L,-4);
B:=LastValue(Cum(1)-5)<Cum(1);
If(B,ValueWhen(1,B,LastValue(A)),0);
Roy
----- Original Message -----
From: "ptc_man" <ptc_man@xxxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Thursday, March 13, 2003 10:54 AM
Subject: [EquisMetaStock Group] Expert highlight
> Need help
>
> I create the following expert:
>
> H < Ref(H,-1) AND L > Ref(L,-1) AND Ref(H,-1) > Ref(H,-2) AND Ref(L,-
> 1) > Ref(L,-2) AND Ref(H,-2) < Ref(H,-3) AND Ref(L,-2) < Ref(L,-3)
> AND Ref(H,-3) > Ref(H,-4) AND Ref(L,-3) > Ref(L,-4)
>
> How can I highlight the entire pattern, the 4 bars?
> Put the formula like this, only the inside bar is highlighted.
>
> Thank you
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> To unsubscribe from this group, send an email to:
> equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|