[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Velocity



PureBytes Links

Trading Reference Links

Gerald, both of these were posted before 2000, not sure
who by, first is velocity, second is acceleration.


{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ }

{Velocity}
Inputs: length(5), Price(Close);
Vars: Dist(0),Velo(0),Velodir(0);

Dist=Price-Price[Length];
Velo=(Dist/Length)*100;
If Price>XAverage(Price,Length) then VeloDir=1 else Velodir=-1;

If Velodir=1 then begin
plot1(velo,"+");
end;

if Velodir=-1 then begin
plot2(velo,"-");
end;
{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

{Indicator: GM_Acceleration}
Inputs: SpdLen(6),AccLen(4),Price(Close);
Vars: Dist(0),Velo(0),Acc(0);

Dist=Price-Price[SpdLen];
Velo=Dist/SpdLen;
Acc=(Velo-Velo[AccLen])/AccLen;

Plot1(Acc,"Acceleration");
Plot2(0,"0");



Wednesday, November 21, 2007, 7:59:33 PM, you wrote:

GM> Does anyone know if there is an indicator called "Velocity" ( a momentum
GM> tool ) that can be used for ES markets?

GM> Happy Thanksgiving to all !

GM> Gerald Marisch
GM> "Support the FAIRTAX"
GM> www.fairtax.org







  • References: