nikoschopen 2,824 posts msg #46140 - Ignore nikoschopen |
8/1/2006 12:05:54 PM
I'm looking into building a ranking system that will assign values to each stock based on its recent price performance and other technical measures. For example, if price is above EMA(20), a value of 1 is assigned. If ure favorite indicator meets the given condition (eg. RSI(2) is below 1) another point is tacked on top of the score. It need not be this simple, of course.
I feel that this would be better managed as a collaborative project than on my own. If anyone is interested in pitching in their wares, feel free to contribute.
|
TheRumpledOne 6,411 posts msg #46149 - Ignore TheRumpledOne |
8/1/2006 11:25:32 PM
Is this for stock selection or for trade triggers?
|
nikoschopen 2,824 posts msg #46152 - Ignore nikoschopen |
8/2/2006 2:55:43 AM
I should think it can be applied to both (and some more depending on ure criteria).
|
shelupinin 120 posts msg #46180 - Ignore shelupinin |
8/4/2006 7:46:14 AM
nikoschopen, any progress with scoring system?
What you coded so far?
share, please, other SF members may add their lines of code and improve system
Alex
|
nikoschopen 2,824 posts msg #46187 - Ignore nikoschopen |
8/4/2006 3:07:19 PM
I'm currently being held hostage for another project so I will update you on the progress as time permits (most like over the weekend). I apologize for any needless suspense. I should also note that I'm somewhat in a bind over what to include in the filter since the possibility is limitless. For example, you can assign a value for the price/MA crossover but what if the moving average is in a nosedive? Should you not consider these other variables and the like? If you have any suggestions which may be helpful in designing this filter, ure welcome to jump right in.
|
nikoschopen 2,824 posts msg #46222 - Ignore nikoschopen |
8/6/2006 4:55:18 AM
I've been preoccupied with redundant tasks lately and I obviously haven't devoted much time to get this thing off the ground. But the following filter, albeit a simple one, should be enough to get it rolling for those who have shown some interest. Of course, ure welcome to revise and improve it as you see fit.
This filter will spit out values ranging from +1.5 to -1.5. If the standard deviation(10) is above the previous day's standard deviation(10) then a value of 1 is returned. If, on the other hand, the standard deviation(10) is below the previous day's standard deviation(10) then a value of -1 is returned. In addition, if the standard deviation(10) had a bigger move than it did the day before, another 0.5 is tacked on top of the existing score. If the move was less than the day before, the existing score gets reduced by 0.5.
Hence, suppose that the standard deviation(10) is above its 7-period moving average. This would evaluate as true under the first condition and a value of 1 will be assigned. But further suppose that it only moved 0.25, a much smaller move than 0.75 the day before. In this case, -0.5 will get tacked on top of 1.0. Therefore, the overall score would be 0.5.
Since the overall score fluctuates in a half-point increment, you would know that 1.5 indicates an "up, up" scenario (; 0.5 indicates "up, down" scenario; -0.5 indicates "down, up" scenario; -1.5 indicates "down, down" scenario.
|
TheRumpledOne 6,411 posts msg #46227 - Ignore TheRumpledOne modified |
8/6/2006 12:56:32 PM
This is a simple version.
It is displaying the results for stocks where the close, high, low and volume are all up from the previous day.
Of course, you can change it to count whatever you want it to.
HTH.
MAY ALL YOUR FILLS BE COMPLETE.
|
TheRumpledOne 6,411 posts msg #46228 - Ignore TheRumpledOne |
8/6/2006 1:13:11 PM
Here's another version just to show how to make changes:
It shows stocks where all 3 indicators have been rising the past 2 days.
HTH.
|
TheRumpledOne 6,411 posts msg #46229 - Ignore TheRumpledOne |
8/6/2006 1:14:26 PM
Here's a simple display version that you can apply to a watchlist and sort on the columns:
|
nikoschopen 2,824 posts msg #46230 - Ignore nikoschopen |
8/6/2006 2:52:38 PM
What I initially had in mind was a universal scoring system that will spit out a number based on where the stock is in context of the overall market. This is harder to formulate than I anticipated. I've provided a simple illustration and TRO gave his own version as well. However, instead of crunching out separate numbers based on individual conditions (eg. price crossed above EMA(9), RSI(2) below 1, etc.), I would like to see the one final score based on the "whole picture". Such a microcosm may encompass both the macro picture, such as where the stock is presently situated in its past 6-month range as well as how it compares to its peers or industry, if not the major indexes, and the micro perspective like the close is above the moving average while the oscillator jumps out of the oversold area. As such, there needs to be a way to formulate and compile these disparate data of information.
PS. I would like to embark on the familiar refrain of expressing my token of appreciation to TRO for his illuminations.
|