|
Hi Steve,
Try LLV(H-L, 2) if you wish to include today's range. If you want the
lowest range prior to today, try Ref(LLV(H-L, 2), -1)
Consider defining range as a variable and use is as you will.
Range = H-L;
With LLV(Range, 2) for the first example above; Ref(LLV(Range,2), -1) for
the second.
Advantage to the variable route is you can then use it throughout your code
in other contexts,
(e.g., if in your output for an exploration you want to see the value
-- AddColumn(MA(Range,5), "5 day Average Range", 2.2, colorwhite,
colorblue)
or if you are developing a Tony Crabel narrow range 4 (NR4) or NR7 AA to
find range contractions, it's easier to apply.
Hope this is what you wanted.
Peace and Justice --- Patrick
|
