I have the following script. While the 2 series of numbers are completely different, they return the same R Squared value. Any suggestions?
CODE:
Please log in to see this code.
Size:
Color:
Actually, it's neither a RSquared specific issue nor a problem per se. Take any series e.g. RSI instead of RSquared and the result will be the same. I think the reason is Wealth-Lab making a
shallow copy vs. deep copy. Your "a" and "b" series are identical. Define them uniquely and the value will be correct:
CODE:
Please log in to see this code.
Size:
Color:
As always, you have solved my problem. Thanks.
Size:
Color:
Glad to have helped.
Size:
Color: