Hi,
There are plenty of examples where the "inner" study is explicitly defined [ex: sma(3, cci(10));].
I found only a couple when the study is declared as an independent var, then used with getSeries.
ex:
var1 = cci(10);
var2 = sma(3, getSeries(var1));
Is this the only way to do it?
I am using the var directly, it works, but I may be getting incorrect results if it is not the correct way.
Here is how I do it:
var1 = cci(10);
var2 = sma(3, var1);
Can anybody clarify this for me, please.
Thank you.
There are plenty of examples where the "inner" study is explicitly defined [ex: sma(3, cci(10));].
I found only a couple when the study is declared as an independent var, then used with getSeries.
ex:
var1 = cci(10);
var2 = sma(3, getSeries(var1));
Is this the only way to do it?
I am using the var directly, it works, but I may be getting incorrect results if it is not the correct way.
Here is how I do it:
var1 = cci(10);
var2 = sma(3, var1);
Can anybody clarify this for me, please.
Thank you.
Comment