Mark, thanks for posting the link to Rudy's article (spelled correctly this time ,LOL).
Rudy was a member of my FastTrack users group here in San Jose for many years. It was fun to see him go through the process of thinking through the subtle little details of refining MAM and getting his article published in TASC.
I forgot to add the code that i worked up for it. You can adjust the periods in the parameter area.
P = ParamField("Price field",-1);
Periods = Param("Periods", 14, 2, 200, 1, 10 );
Plot( 100*(Close/MA(Close,(2*periods) + 1)-1), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
Mark
--- In amibroker@xxxxxxxxxxxxxxx, "markald3" <marval41@xxx> wrote:
>
>
> Here is a link to MAM with some formulas towards the end.
>
>
> http://www.actwin.com/kalostrader/MAM-Rev3.PDF
> <http://www.actwin.com/kalostrader/MAM-Rev3.PDF>
>
>
>
> Mark
>