Buy the best performing stocks for the last 6 months
Author: Carloseta
Creation Date: 9/3/2009 11:25 PM
profile picture

Carloseta

#1
I'm trying to create a strategy that buys the best performing stocks for the last 6 months and sells after a specified time.

How do I tell the system to rank the symbols by performance so it buys the best gainers?

Here is what I have so far...

Also, Is there away to convert a script back to rules after it has been converted to code?



CODE:
Please log in to see this code.



profile picture

Cone

#2
QUOTE:
How do I tell the system to rank the symbols by performance so it buys the best gainers?
See the RSI Rotation strategy. It's the same idea, but it uses RSI instead of MomentumPct as the rank indicator to rotate in and out of stocks. If you're time frame doesn't correspond to a day, week, or month, then you'll need to add a little more logic.

QUOTE:
Also, Is there away to convert a script back to rules after it has been converted to code?
It's not possible.
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).