Hello, Note that MaxOpenPositions is MAXIMUM (i.e. limit of open positions), not really the number of open positions at given time. There is nothing that stops you from opening LESS than maximum. You can easily do that in custom backtester by counting the number of items in Open position list and not opening new ones once your custom limit (per bar) is reached.
Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: "droskill" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, November 23, 2008 10:35 PM Subject: [amibroker] Re: MaxOpenPositions > Too bad - it'd be a good feature - I'll probably suggest it. > > --- In [email protected], "Steve Davis" <[EMAIL PROTECTED]> wrote: >> >> No, the MaxOpenPositions option is not an array, so you cannot change >> it on each bar. But PositionSize and PositionScore are both arrays, >> and you can change them on every bar. >> >> -Steve >> >> --- In [email protected], "slipthruthecracks" >> <slipthruthecracks@> wrote: >> > >> > Is the MaxOpenPositions setting an array similar to PositionSize? Can >> > it be set for each bar as in: >> > >> > bullmkt = ROC(C,200); >> > MaxPos = Iif(bullmkt > 0 , 6, 2); >> > >> > Thanks. >> > >> > Jack >> > >> > > > > ------------------------------------ > > **** IMPORTANT **** > This group is for the discussion between users only. > This is *NOT* technical support channel. > > ********************* > TO GET TECHNICAL 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 > > ********************************* > Yahoo! Groups Links > > >
