PureBytes Links
Trading Reference Links
|
I can imagine that the correct code is like this:
Plot1(value1 + value2,"RES");
----- Original Message -----
From: <rickinri@xxxxxxx>
To: "Bob Fulks" <bfulks@xxxxxxxxxxxx>; <code-list@xxxxxxxxxxxxx>;
<omega-list@xxxxxxxxxx>
Sent: Thursday, September 28, 2000 1:53 PM
Subject: 3x5atr
> I was going thru indicators that were in my power editor and came
> across 3x5atr and was wondering if anyone remembers when it
> was posted
>
> input: DaysBack(5);
> value1 = average(TrueRange,DaysBack);
> value2 = average(High,DaysBack - 2);
> value3 = average(Low,DaysBack - 2);
> Plot1(value1 + value3,"RES");
> Plot2(value3 - value1,"SUP");
>
>
> My question is why calculate value2 if it is not ever called on, I
> suspect however I got the code it might be wrong
> Rick MacNeil
>
|