I have this variable
TotVol=close(0, sym("$TVOL")) + close(0, sym("$TVOLA"))+close(0, sym("$TVOLQ"));
which plots just fine.
I want to find the 10 day average of this variable
How do I do that?
AvgVol=sma(10,TotVol()); ??
or
AvgVol=sma(10,getValue(TotVol())); ??
or what?
Thanks. PD
TotVol=close(0, sym("$TVOL")) + close(0, sym("$TVOLA"))+close(0, sym("$TVOLQ"));
which plots just fine.
I want to find the 10 day average of this variable
How do I do that?
AvgVol=sma(10,TotVol()); ??
or
AvgVol=sma(10,getValue(TotVol())); ??
or what?
Thanks. PD
Comment