PureBytes Links
Trading Reference Links
|
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
|