Bob,
As usual the metastock version of the indicator didn't make the publication deadline. The one that I presented was adapted from the Amibroker version.
Its basically used the same as Wilder's DX. The difference in the two being that there is no zero calculation in the Vortex version.
Preston
--- In equismetastock@ yahoogroups. com, Bob Waits <bobwaits2@x ..> wrote:
>
> Thanks Preston. Haven't received my Jan Issue yet, but how does on use this indicator -- I am assuming when the fast moving line crosses the slower moving line from below.
>
> Also, what are the backtest results for this indicator and how would one code this for the expert advisor?
>
> Thanks.
>
>
>
>
> ____________ _________ _________ __
> From: pumrysh <no_reply@xxxxxxxxxx s.com>
> To: equismetastock@ yahoogroups. com
> Sent: Tue, December 29, 2009 9:01:04 PM
> Subject: [EquisMetaStock Group] Vortex Indicator
>
>
>
>
> Here's the Metastock code for the Vortex Indicator
> discussed in the January 2010 issue of TASC
>
> {Vortex Indicator}
> {TAS&C Jan 2010}
> {Written for Metastock by Preston Umrysh}
> Period:= Input("Enter periods",1,100, 14);
> VMP:=Sum(Abs( H-Ref(L,- 1)),period) ;
> VMM:=Sum(Abs( L-Ref(H,- 1)),period) ;
> STR:=Sum(ATR( 1),period) ;
> VIP:=VMP/STR; VIP;
> VIM:=VMM/STR; VIM;
> {end}
>
> enjoy,
>
> Preston
>