PureBytes Links
Trading Reference Links
|
Yuki,
There is an Option in Backtester Settings named "Allow same bar exit (Single bar trade", ensure that is checked.
This works for me with a backtest but not a scan.
Post again if you still have problems.
William
-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx]
Sent: Saturday 22 February, 2003 7:06 PM
To: William Peters
Subject: Re: [amibroker] cannot buy on open
Hi William,
That code actually produces really strange results.
After running 'scan', you get output that shows all trades on the
same day, at the close.
After running 'backtest' you get output that shows all sells on the
NEXT day at the close. So, which is it? ^^_^^
Yuki
WP> Buy = 1;
WP> Sell = 1;
WP> SetTradeDelays(0,0,0,0);
WP> BuyPrice = Open;
WP> SellPrice = Close;
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|