SetTradeDelays(1,1,1,1); //Trade the day after your signals
BuyPrice = Open;
SellPrice = Close;
//other SetOption() statements - see Help section
//your analysis code
Buy = Condition A;
Sell = Buy; //Sell the day you Buy
--
Terry
-Original Message-
From: amibroker@yahoogroups.com [mailto
Gerard,
Wouldn't you use backtest settings/trades, with Buy at Open +1 and close at
Close +1?
Nick
Quoting Gerard Carey <[EMAIL PROTECTED]>:
> Hi all
>
> If Condition A is met today, I wish to buy at tomorrow's open and sell
> at tomorrow's close.
> How do I code this?
> After much searchi