Highest ranked ETF that meets certain criteria
Author: wphill
Creation Date: 4/1/2009 7:23 PM
profile picture

wphill

#1
I gave up years ago,here, ...and found pre-packaged software tied to a data service to do what I wanted..but it's defunct now..and I sure would like to tap into the power of W.Lab. I'm not intuitive at this stuff/coding, but I'm willing to try. The code is Csharp.....there's a book for "dummies" out there. Would you recommend that one, or another source...in order to just have a general background?

In the broadest of strokes, this is what I seek to accomplish:

In varied and designated groups of tickers (etfs)which is a total universe of about 120 rank order the etfs within each group on different parameters,

.... generate a buy signal from the highest ranked etf that also meets certain criteria;

..... and, then give a sell signal based on specific criteria.

.....and I need to back test for given periods of time and optimize on several selected parameters. Strategies are developed from the back testing to see which parameter for rank ordering is working best.

This is for intermediate term trading (1-14 months)..the less the better.

The most basic need, at the moment, is to learn how to rank order. The simplest parameters would be ROC periods .. and then to learn how to generate a report..similar to a spread sheet. If I may expand: ROC of ticker relative to a benchmark for the following periods: 10,30,90,180, and... past x-number of bars from the highest high, past x-number of bars from the lowest low. Of course, there is much more to my overall goal...but, this would help me while I am getting there. Thanks, wphill
profile picture

wphill

#2
I do see in the Help section of w.Lab...lots of reading....it's just overwhelming, at this time. Three years ago, I printed out quite a bit...and it still did not help...so I'm reluctant but willing to have another go.
profile picture

Cone

#3
QUOTE:
Would you recommend that one, or another source...in order to just have a general background?
I haven't read an C# books to recommend, but the "dummies" or "21 days" books are usually well-structured for a good introduction. Also see the free web references listed in this FAQ

QUOTE:
what I seek to accomplish:
An example is already waiting for you. This is precisely what the RSI Rotation Strategy does - it comes with the installation.

QUOTE:
optimize
Coming in WLP 5.4 (June-ish)

profile picture

wphill

#4
Cone,
QUOTE:
An example is already waiting for you. This is precisely what the RSI Rotation Strategy does - it comes with the installation.

RSI Rotation....is quite different..I believe. Relative Strength Index relates to an oscillating indicator(rsi) not Rate of Change(roc).......At the moment, I would just like to be able to create a data sheet on roc...as mentioned above. But, sure do need some help.
Thanks,wphill
profile picture

Eugene

#5
It's probably going to take changing one line to turn it into ROC Rotation strategy, like shown here.
profile picture

wphill

#6
Eugene..

Sorry, I'm just not wrapping my head around this....A decade ago I could read metastock's code and take in the intricate details of a strategy....gotta know the details before making a bet....and with the code, here, I'm not getting traction looking at the script/code for RSI Rotation, and not much better reading the verbal text.

For now I would really settle for the ability to generate a spread sheet like report on roc
of tickers relative to a benchmark across different periods of time.

I see the free online c sharp manuals...I need something to hold and review...so I will order the book for "dummies." I qualify.

I am out of my element here. My searches are not showing up nuggets that I can relate to and modify....first, I must grasp the code and get more acquainted with the functionality.
profile picture

Cone

#7
Eugene's just saying that you only have to replace the RSI indicator with ROC. Don't forget about the WealthScript Programming Guide for the basics with many examples.

Also, there are many examples included in the installation, QuickRef, and Wealth-Lab 5 Wiki.
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).