PureBytes Links
Trading Reference Links
|
Sometimes the apparently simplest things are not, in AB.
I cannot seem to make it buy on the open and sell on the close the
same day, no matter what formula I enter. Everything is done on the
close. This is regardless of what I have in 'settings', and
regardless of what I write in code to control those settings.
Even a brain-dead:
Buy = Open; //nothing more, we'd buy every open and sell every close
Sell = Close;
SetTradeDelays(0,0,0,0);
BuyPrice = Open;
SellPrice = Close;
results in all buys and sells taking place on the close, at the same
price, of course. Can someone explain why I cannot control this?
Yuki ^_^
mailto:yukitaga@xxxxxxxxxxxxx
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/
|