SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Metastock 6.0 for Window -- Ignore unavailable to you. Want to Upgrade?


To: Chris G. who wrote (1286)12/14/1997 1:32:00 PM
From: Richard Estes  Read Replies (1) | Respond to of 4056
 
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)