----- Original Message -----
Sent: Friday, October 28, 2005 2:52
AM
Subject: Re: [amibroker] delaying the
buy
Thanks Ara, but I am getting a syntax error message at the Buy
Trigger line.
You left a few things
out:
BuyTrigger
= IIf(Ref(BuySignal, -1) == 1 AND
High > Ref(High, -1), 1, 0);
SellTrigger
= IIf(Ref(SellSignal, -1) == 1 AND
Low < Ref(Low, -1), 1, 0);