I have a simple system. But there is one part of it I can not do with Amibroker.
Example:
I am trading the Nasdaq 100
maxOpenPositions=2;
positionSize=-45;
Buy on Open according to a signal yesterday.
Sell when price rises to a Limit according to a signal on previous day. (I do not sell on day 1)
When a position is sold, I wait until the following day's Open to Buy a new position.
THE PROBLEM: I cannot get Amibroker Backtester to wait until the next day to fill the sold position. Amibroker fills the sold position on the same day it is sold!
?????????????????
I've looked at all of the SetOptions without luck. Since this involves 2nd phase of the backtester I have started looking into the Custom Backtest Interface. Is that the right direction or is there a simpler way?
The smallest clue would be appreciated.
I have been reading, searching, and experimenting. I'm either missing something very simple (I hope) or need to learn CBI (ok if I am sure that will work) or ?
Thanks, Balin Butler
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
__,_._,___
|