Syntax error
Posted: Fri Nov 01, 2019 6:58 am
I'm getting a syntax error when I try to create a moving average in a for loop like this:
the same thing works with other functions like this though:
So I assume it has to do with the 8 option I'm adding to the moving average function. Any ideas on how to resolve this?
thanks
Code: Select all
for !i=1 to mygroupgr.@count
%sn = mygroupgr.@seriesname(!i)
series {%sn}ma = @movav({%sn},8))
nextCode: Select all
for !i=1 to mygroup.@count
%sn = mygroup.@seriesname(!i)
series {%sn}gr = @pca({%sn})
nextthanks