Rebasing set of stocks/ETFs
Author: jyard43
Creation Date: 5/19/2017 2:44 PM
profile picture

jyard43

#1
I am new to WLP , and excuse me if this has been covered elsewhere. Every chart or procedure I have seen so far is single stock or etf centered. What I would like to do is chart a ( small ) basket of stocks or etfs rebased to 1 or 0 , so as to analyse relative trends over time.
Can you suggest exemplers or starting points ?
profile picture

Eugene

#2
Not sure what to rebase to 1/0 really means. Is this example close to what you're looking for?

WealthScript Techniques | Relative Performance Chart
profile picture

superticker

#3
Thanks for these examples. I simply took the second solution in the above link and simplified it. (This simplified version can be posted to the wiki.)
CODE:
Please log in to see this code.

But I'm wondering what other tricky features the original code must have had, which motivated the usage of List<DataSeries> and clickSymbol in the original code?
profile picture

Eugene

#4
QUOTE:
But I'm wondering what other tricky features the original code must have had, which motivated the usage of List<DataSeries>

I don't remember since it was 7-8 years ago, probably to demonstrate a customer how to use List.