Indicator of an Indicator: Smoothing ROC with WLMA
Author: Carova
Creation Date: 1/30/2015 9:44 AM
profile picture

Carova

#1
Real simple question. I have this line of code
CODE:
Please log in to see this code.

and I want to smooth it with WLMA, which I thought would be
CODE:
Please log in to see this code.

but that is obviously incorrect. What am I doing wrong? Thanks!

Vince
profile picture

Cone

#2
If you want to smooth ROC.Series, then you need to pass it to WLMA.Series, not the other way around.


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

Carova

#3
Thanks Cone, but I mis-spoke! I wanted the ROC of the smoothed series. I am using it in a rotation script so I needed to code it as in my initial example.

Vince
profile picture

Eugene

#4
QUOTE:
I wanted the ROC of the smoothed series.

In this case, the line of code is fine as long as "using Community.Indicators;" is present. Otherwise it's not obvious what you're doing wrong.
profile picture

Carova

#5
Thanks Eugene! That was it...the most obvious mistake!

Vince
profile picture

Eugene

#6
Vince, please pay attention to the Editor's compile and error messages frame.
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).