Charts - Plotting indicators using code
Author: Tobey
Creation Date: 12/1/2009 1:10 PM
profile picture

Tobey

#1
In Funcution Reference

12.32 SetPrimarySeries calls the SPx with
SetPrimarySeries( ".SPX" );

In the code below it gives an error.
The name "SetPrimarySeries" does not exist in the current context
Where sould I be looking for the answer?
How can I plot a relative stength to the SPX on a chart

Thanks
Tobey
CODE:
Please log in to see this code.
profile picture

Eugene

#2
QUOTE:
The name "SetPrimarySeries" does not exist in the current context

That's because SetContext should be used in Wealth-Lab 5 instead of SetPrimarySeries. Also, RestorePrimarySeries isn't valid and s.b. replaced with a RestoreContext() call. Please look up both methods in the QuickRef.
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).