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

RE: Trade Volume Index



PureBytes Links

Trading Reference Links

Paul
MTV is defined as minimum tick value. So based on their explanation if the
change is greater than +/- 1 tick then accumulation/distribution is
occurring. It appears that is the only thing you have not defined is the
MTV. I believe the easylanguage reserved word is Pointvalue.

JerryWar

> -----Original Message-----
> From: Paul [mailto:muzzy@xxxxxxxx]
> Sent: Sunday, June 16, 2002 7:52 PM
> To: omega-list@xxxxxxxxxx
> Subject: re: Trade Volume Index
>
>
> Hi All,
>
> I tried to code up the Trade Volume Index. A link was
> provided the other
> week to the equis site for an explanation.
> http://www.equis.com/free/taaz/tradevolind.html .I have tried
> to code it in
> easylanguage. Would someone mind having a look and see if it
> is right. In
> particular the section regarding minmove.
>
> Regards,
> Paul
>
> {<><><> Code Start <><><>}
>
> Inputs: Length(10);
>
> Vars: Change(0), MTV(0), Direction(0), TVI(0);
>
> Change = C - C[1];
> MTV = MinMove;
>
> If Change > MTV then Direction = 1;
> If Change < -MTV then Direction = -1;
> If Change <= MTV and Change >= -MTV then Direction = Direction[1];
>
> If Direction = 1 then TVI = TVI[1] + (Upticks + Downticks);
> If Direction = -1 then TVI = TVI[1] - (Upticks + Downticks);
>
> Plot1(TVI, "TVI");
> Plot2(0, "Zero");
> Plot3(Average(TVI,Length), "TVI Average");
>
> {<><><> Code End <><><>}
>
>