[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] cannot buy on open



PureBytes Links

Trading Reference Links

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/