Peter,
This what you had in mind?
{Average True Range - Welles Wilder}
{Written by Ton Maas-981225- Amsterdam- the Netherlands}
{Found at EquisMetastock YahooGroups}
{Formula:}
PDS:=Input(" Lookback Periods",1,999, 10);
TR1:=Abs(H-L) ;
TR2:=Abs(Ref( C,-1)-H);
TR3:=Abs(Ref( C,-1)-L);
MX1:=Max(TR1, TR2);
MX2:=Max(TR1, TR3);
MX3:=Max(TR2, TR3);
MXTRS:=If(MX1> MX2,
If(MX1>MX3,MX1,
If(MX2>MX3,MX2, MX3)),MX2) ;
WATR:=Wilders( MXTRS,pds) ;
WATR;{end}
The Average True Range or ATR is part on the built-in indicators.
Preston
--- In equismetastock@ yahoogroups. com, "perome2000" <tt30@xxx> wrote:
>
> Hello,
>
> Can anyone help with the following please
>
> 1, Calculation of average daily range, 15 day
average.
>
> 2, Todays range as percentage of Average daily range.
>
> 3,Today's closing price divided by today's range.
>
> 4, How do you get shot of the decimal places in the exploration
reports?
>
> Some list, can anyone help?
>
> Peter.
>