Plotting Relative Strength Ratios
Author: jackdougher
Creation Date: 10/13/2016 4:52 PM
profile picture

jackdougher

#1
I want to plot and analyze RSR data that isn't an existing dataset. What is the best way to approach creating the dataset and plotting the data?
profile picture

Eugene

#2
Welcome to the forums. Since this is becoming a FAQ I've just added an answer to the Wiki which should provide a starting point:

FAQ | Strategies and WealthScript > "How to code and plot relative strength ratios?"

Feel free to ask followup questions on this particular topic of interest here.
profile picture

Cone

#3
Also, make sure to watch the "101" videos here: https://www.youtube.com/user/wealthlabsupport
profile picture

jackdougher

#4
The "How to" Wiki link provided good information on RSR. Thank you. Also, is there a way to create another "Chart" tab separate from the default chart? It would be nice to be able to plot the resulting RSR dataset in its own chart that can be programmatically modified.
profile picture

Eugene

#5
Not sure if I understood. The example already is doing its plotting in a separate pane. Maybe the PlotSymbol example in the QuickRef (hit F11) is what you're after?
profile picture

jackdougher

#6
I guess what I am is if there is an API that allows me to create from scratch, and then customize through other API methods, a chart object that is separate from and contained in a different tab from the default Chart tab? I am new to Wealth-Lab but knowledgeable about programming. With the default chart it appears that the plot is of the selected security and then customizations are made through ChartPane (and other APIs). What I would like to do is programmatically build new chart objects not tied to the original selected security.
profile picture

Eugene

#7
In the same Wiki example, check out how CreatePane is used. This method returns a ChartPane instance where you can plot with PlotSymbol.