| 
 PureBytes Links 
Trading Reference Links 
 | 
Jeff:
You can use
LongEntry:=  {your long entry parameters};
ShortEntry:= {your short entry parameters};
LongEntry AND BarsSince(Ref(LongEntry, -1)) >=
        BarsSince(Ref(ShortEntry, -1))
although it will not plot the very first long entry in the
data series.
Hope this helps.
----- Original Message ----- 
From: "Jeff Haferman" <Jeff_Haferman@xxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Friday, July 27, 2001 9:15 AM
Subject: Expert Advisor "buy/sell signal" question
> In the expert advisor, when I am generating a buy/sell
> signal, how do I tell Metastock to generate
> the signal only if the preceding signal was in the
> opposite direction?
> 
> eg I only want a buy arrow if the previous arrow was a
> sell... I don't want to see several buy arrows in
> succession.
> 
> Thx,
> Jeff
 |