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@xxxxxxxxxps.com, "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
>