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