Australian (ASX) Stock Market Forum

Amibroker BuyPrice/SellPrice and Trade Delays Ignored

Joined
8 March 2011
Posts
6
Reactions
0
Hello Traders
I've been messing about with AB for a month or so and have run into the following issue that happens with every system I try. Apologies if my terminology is incorrect.

With BuyPrice or SellPrice = Open the Scan always shows the trade at the Closing price and not the Open. The SetTradeDelays parameters are also igored and I always get the trade on the next day at Close. If I remove the BuyPrice and SetTradeDelays statements from the AFL code and attempt to get this to work using the Trades tab in Backtester Setting the result is still the same, trade is always next day at Close.

Using AB 5.3 and EOD data.
Any help would be much appreciated. Thanks
 
Thanks much for pointing me in the right direction Captain. Didn't realize that there was such a big difference between the Scan and Explore functions in Amibroker. Also found Graham Kavanagh's sample AFL a huge help and I now have a properly working function.
Thanks again.
 
Top