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

[amibroker] Code for simple(?) detail eludes me-can AFL do this?



PureBytes Links

Trading Reference Links

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
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___