Hi,
Your formula, as written, checks to see if the high minus the
low is
greater than 6 times the average true range of the last 30 days
(i.e.
if ATR of last 30 days is $1, you're code is checking if high minus
low is greater than $6).
Also, average true range (ATR) as
implemented in AmiBroker is not
necessarily equal to high minus
low:
http://stockcharts.com/education/IndicatorAnalysis/indic_ATR.html
Mike
---
In amibroker@xxxxxxxxxps.com,
"Steve Carlsson" <stevecar144@...>
wrote:
>
> Hi
all
>
> Please bear with me I am a novice...
>
>
Sell= H-L > 6 * ATR(30);
>
> The code above is supposed to
check if the high minus the low on
any given
> day produces a figure
larger than the 30 day average trading
range.....
>
> I am
not sure if the code is doing what I think its doing - any
ideas...
>
> Thanks in advance
>
> Steve
C
>