PureBytes Links
Trading Reference Links
|
You can certainly use the CBT to control MaxOpenPositions, but you
first need to decide the desired behavior. Suppose at bar 50, you have
6 open positions, then at bar 51, you determine there should only be 2
open positions. Will you automatically close 4 of the positions? If
so, which 4?
--- In amibroker@xxxxxxxxxxxxxxx, "slipthruthecracks"
<slipthruthecracks@xxx> wrote:
>
> Thanks, Steve.
>
> I am looking at CBT then to determine if I can limit open positions
> during a period that I define as a bear market. Any suggestions about
> using this to limit maxopenpositions?
>
> Jack
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Steve Davis" <_sdavis@> 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
> >
>
------------------------------------
**** 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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|