FWIW: there is GetOpenPosQty function already. bo.GetOpenPosQty()
It does not require any parameter as it always returns number of open positions currently (at the time of the call) open. Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: <[email protected]> To: <[email protected]> Sent: Friday, February 13, 2009 6:13 PM Subject: [amibroker] Re: AmiBroker 5.21.0 BETA released > Tomasz, > > Thanks for the GetSignalQty() function. For completeness, it would > also be useful to have similar functions to return the number of open > positions and closed trades. > > GetOpenPosQty(bar) > GetTradeQty(bar) > > Cheers, > Steve > > --- In [email protected], "Tomasz Janeczko" <gro...@...> wrote: >> >> Hello, >> >> AmiBroker 5.21.0 BETA is released now: >> http://www.amibroker.com/devlog/2009/02/13/amibroker-5210-beta-released/ >> >> Best regards, >> Tomasz Janeczko >> amibroker.com >> > > > > > ------------------------------------ > > **** IMPORTANT PLEASE READ **** > This group is for the discussion between users only. > This is *NOT* technical support channel. > > TO GET TECHNICAL SUPPORT send an e-mail directly to > SUPPORT {at} amibroker.com > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at > http://www.amibroker.com/feedback/ > (submissions sent via other channels won't be considered) > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > Yahoo! Groups Links > > >
