No, not sure what you are doing. Always best to copy and paste Your work so we can see what you are doing wrong.
I am thrown by: "Also I'm not sure why one has to specify date array and time periods if we talking about a method of calculated MA's..ie) simple, exponential,weighted."
VariableMA511(C,50)- ref(VariableMA511(C,50),-15)
You can run a MA on any data array. C, RSI, Volume, etc. The time periods affect the cycle you expect to try to capture. You need to put up a price chart of a favorite stock and apply all 7-8 MAs that MSWIN has with periods set from 5-200 just to see how they react with price.
RVAR periods:=Input("periods",1,244,89); VariableMA511( MP() , periods) |