Ratio of .SPX to GLD
Author: smiranda
Creation Date: 3/11/2010 5:53 AM
profile picture

smiranda

#1
Hello,

I am a newbie to scripting. I am basically trying to plot the ratio of .SPX to GLD. Below is my code.
CODE:
Please log in to see this code.

Upon compile, I get the error message "Too many characters in character literal".
Can anyone tell me what is wrong with this script?
Many Thanks.
profile picture

Eugene

#2
This is a mix of version 5 syntax (C#) with a version 4 chartscript code that won't work in v5.

Please start by reviewing DataSeries > Accessing Secondary Symbols in the WealthScript Programming Guide (Help menu).
CODE:
Please log in to see this code.
profile picture

smiranda

#3
Thanks eugene.
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).