PureBytes Links
Trading Reference Links
|
Greetings everyone. I'm a noob here and was a liberal arts major in a former life, so sometimes you_have_to_speak_very_slowly...
I'm trying to rank stocks...for example...
X% above a moving average gets 1 point per percent above.
X% positive change over the last X weeks gets 1 point per X% change.
An RSI2 between 50 and 55 gets 1 point, 55-60 gets two points, etc...
so that with each requirement, a stock could have a maximum number of points, so that when all the points are added through each requirement, I have a score, and the score is used to rank that stock relative to other stocks.
I'm assuming this is pretty basic stuff, but I have no idea how to code it so that AB keeps a running calculation of the scores and rank.
I'm also assuming that once I have the ranks, that I can use MaxPositions option with PositionScore to backtest a number of stocks that meet a minimum rank requirement?
Thanks very much for any help with this!
Wood
------------------------------------
**** 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/
|