I am essentially trying to build a simple screen that finds me the biggest losers from a list of stocks by comparing the open for the day with the previous close.
Size:
Color:
Hi,
From the "Open Strategy" dialog, load any canned strategy from the "Symbol Rotation" folder. This is going to save a great deal of coding time since this is the design pattern for building strategies that work with "Top N" (or Bottom N) stocks.
1) See above.
2) Rotation strategies are backtested in Single Symbol mode.
Size:
Color:
First thing, read the Description so that you can work properly with a rotation script. Essentially, you should click on only one symbol in the DataSet to run the script.
Second, give us a better description of what you're trying to do so that we can give you the proper guidance. You may actually want to do something entirely different than "symbol rotation".
Size:
Color:
Size:
Color:
I am essentially trying to build a simple screen that finds me the biggest losers from a list of stocks by comparing the open for the day with the previous close.
Size:
Color:
QUOTE:
I am essentially trying to build a simple screen that finds me the biggest losers from a list of stocks by comparing the open for the day with the previous close.
Please continue. What do you want to do with the losers after that? Be specific. Step by step.
Size:
Color:
As you said initially, this is just a screener, so that takes away a lot of the complexity of a Rotation-type script.
Okay, what's the ranking rule? i.e., what makes a loser a bigger loser?
Size:
Color:
Let's just assume that it's the Rate of change (%) over a specified period. You can change the indicator as you wish, where indicated in the script.
Instructions: 1. Paste, compile.
2. Update the DataSet
3. Click on one symbol in the DataSet to run the script.
CODE:
Please log in to see this code.
Size:
Color: