PureBytes Links
Trading Reference Links
|
Bingo! Ian. Thanks a bunch.
----- Original Message -----
From: "Ian Burgoyne" <iburgy@xxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Sunday, May 21, 2000 11:49 PM
Subject: Re: Zero Lag EMA
>
> Del, I think your code should read something like this - and look similar
to
> the chart below compared to the Zero Lag SMA non displaced (using the
> close).
> Ian
>
> Period:= Input("What Period",1,250,13);
> Disp:= Input("Forward Displacement",0,250,8);
> SMA1:= Mov(C,Period,S);
> SMA2:= Mov(SMA1,Period,S);
> Difference:= SMA1 - SMA2;
> ZeroLagSMA:= SMA1 + Difference;
> Ref(ZeroLagSMA,-Disp)
|