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

RE: Built in ATR indicator vs. custom ATR



PureBytes Links

Trading Reference Links

Sounds like you have a mailreader problem, Chris.
the < and > were  there.
  As I  posted privately to Yngvi,
Wilders(TR,periods)is just
Mov(TR,2*periods-1,E)

Bob


bjagow@xxxxxxx <mailto:bjagow@xxxxxxx>


-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Christian Baude
Sent: Wednesday, May 26, 1999 6:17 PM
To: metastock@xxxxxxxxxxxxx
Cc: Equis Support
Subject: Re: Built in ATR indicator vs. custom ATR


On Wed, 26 May 1999 09:15:48 -0600, Equis Support wrote:

>The actual ATR does not use a simple moving average. Welles Wilder uses
>his own smoothing (a modified exponential average) which is the function
>"Wilders" in MetaStock. Try you formula this way:
>
>periods:=Input("ATR Periods?",1,100,10);
>TH:=If(Ref(C,-1)  H,Ref(C,-1),H);
>TL:=If(Ref(C,-1)  L,Ref(C,-1),L);
>TR:=TH-TL;
>Wilders(TR,periods)

Yngvi Hardarson [mailto:hardy@xxxxxxxxxxxxx] wrote:

>ATR custom indicator:
>periods:=Input("ATR Periods?",1,100,10);
>TH:=If(Ref(C,-1) >  H,Ref(C,-1),H);
>TL:=If(Ref(C,-1) < L,Ref(C,-1),L);
>TR:=TH-TL;
>Mov(TR,periods,S)

Did Equis' OLR digest the [Greater than] and [Less than] symbols?

-= Chris ß =-
Using MetaStock/FastTrack/FastRUBE/FastTools/EZPnF/TC2000