DWORD f[3];
....
...
f[0]=SMA; f[1]=EMA; - works. Is that what you mean?