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

[amibroker] BestRankHeld



PureBytes Links

Trading Reference Links

Tomasz,

Any problem implementing "BestRankHeld" in SetOption?

When combined with WorstRankHeld, enables selection of a range of acceptable rank values.  As an example, stocks could be selected from the 2nd quartile instead of the 1st quartile of a list.

Fund managers who do this sometimes find better results than using the very top of their ranking lists.  Sounds strange, but true.

Another way to implement is RankPctTop and RankPctBottom, where RankPctTop would mean "Enter anything lower than the top X% of the list" and RankPctBottom would mean "Enter anything higher than the top X% of the list."  In this view, % is of the count of the list members, not of the Rank value.

Example:

PositionScore = something;
SetOption( "RankPctTop", 15 );
SetOption( "RankPctBottom", 65 );

Candidates Rank
10
9
8
7
6
5
4
3
2
1

Selected candidates:  8, 7

Perhaps sample code already exists for this idea?

Best regards,



------------------------------------

**** 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

<*> 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/