FLX8
- ago
I'm finally finding the time to really dig into WL8... and I'm really seeing that I can barely walk in this application.

So let's just try a few things:

Using WD, I want to use the a universe and place orders on X-number of stocks with the lowest/highest values of an indicator.

How would I go about doing this?

thank you
0
651
Solved
5 Replies

Reply

Bookmark

Sort
- ago
#1
This is a special kind of system called Rotation system. It's one of the built-in system types in WL8. You can learn more about Rotation in the Help.
0
FLX8
- ago
#2
Hi, interesting. Not sure how to set up a Rotation strategy. Looking in the Help, a Rotation isn't exactly what I'm looking for. The reason being that this type of strategy is always 100% invested, and there is a re-balancing.

What I would like to do is look at an Indicator value,
indicator.Values[idx]

and compare it to this same indicator value for each asset within the Universe at the particular point in time. From there, create a Rankings list of where that particular asset stands. And, if that asset is a certain Rank, then place an order based on other conditions in the code.

1
- ago
#3
Well, if what you're after is just value comparison then you could simply use "Indicator Compare to Value" building block, choose Lowest/Highest and then pick desired indicator.
0
Glitch8
 ( 14.35% )
- ago
#4
FLX, what you're describing would use a similar technique to code-based rotation strategies. They use the PreExecute method to examine indicator values or other information of all the symbols that are being included in the current bar's Execute processing. See the example Strategy "Tactical Asset Rotation" for ideas.
0
Best Answer
FLX8
- ago
#5
thanks for all your help Eugene and Glitch! Yes this is exactly what I'm looking for. The more I look into WL, the more I'm impressed with the amount of consideration put into making this the best piece of trading software I've encountered so far.
4

Reply

Bookmark

Sort