| 
 PureBytes Links 
Trading Reference Links 
 | 
Hi
   Thank all of you for your suggestions. I will try by using the
examples provided. Happy New Year!
--- In amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> wrote:
>
> Hi,
> 
> You may find message 114739 helpful, where I offer a code sample that 
> I believe will help with what you are asking for. My example is based 
> on limit orders, but the approach applies for any strategy.
> 
> The basic principle is that as you process each symbol at each bar, 
> you do a sorted save of the top 'x' PositionScore values into 'x' 
> composite arrays named ~Position1, ~Position2, ..., You can then use 
> the Foreign function to access any of the top 'x' scores at any bar 
> from within your custom backtester code.
> 
> e.g.
> 
> pos1Scores = Foreign("~Position1", "X", 0);
> 
> for (bar = 0; bar < BarCount; bar++) {
>   pos1Score = pos1Scores[bar];
>   ...
> }
> 
> http://finance.groups.yahoo.com/group/amibroker/message/114739
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "hoho10015" <hoho10015@> wrote:
> >
> > Hi all
> > 
> >        I was wondering if it is possible to rank Positionscore in the
> > portfolio backtester. I only want my system to consider the top ten
> > candidates based on position score each day and discard the rest. 
> Thanks
> >
>
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
 
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/
 
 |