Ranking system (buy top ranked 10 stocks and sell when it falls below some rank)
Author: newengwong
Creation Date: 12/18/2008 4:03 AM
profile picture

newengwong

#1
Is it possible in wealthlab to create a ranking system?

e.g. given the buy rules, and the backtest would buy the top rank 10 stocks daily, and sell the stock that fell below some pre-set rank.

thx
profile picture

Eugene

#2
Have you seen the RSI Rotation strategy from the Symbol rotation folder?
profile picture

newengwong

#3
No. I haven't as I have not got WL5 yet.
Does the strategy do what I describe above?

thx
profile picture

Eugene

#4
Yes.

BTW what could stop from taking a free trial? Nonetheless, this concept is implemented in WLD since 2002 as you can see by the following link:
Performing Symbol Rotation in a ChartScript
profile picture

newengwong

#5
The symbol rotation only use RSI to sort the stocks. Is it possible to use some weighted average of 2 indicators. e.g. close/sma(50), EPS growth, to sort the stocks?

thx
profile picture

Eugene

#6
Yes, it's possible to substitute RSI with another data series. Technically, it's a matter of replacing the following line:

CODE:
Please log in to see this code.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).