PureBytes Links
Trading Reference Links
|
Use this function for NR whatever- then put it in a show me
{---function code NR---}
input:
RangeLen(Numeric),
Index(Numeric)
;
NR= false;
if Range < Lowest(Range,RangeLen-1)[Index+1] then
NR = true;
{---end function code---}
From: Jim Osborn <jimo@xxxxxxxxxx>
To: John blucarr <true_blue88@xxxxxxxxxxxxxxxx>
CC: omega-list@xxxxxxxxxx
Subject: Re: NR7 day showme code ?
Date: Thu, 22 Jan 2004 20:27:23 -0800
On Thu, Jan 22, 2004 at 8:00:24PM -0600, John blucarr wrote:
> If anybody has code for a showme or paintbar
> that shows NR7 days please email it to me in text form.
>
> Would also be nice if it worked on price in 32nds, like bonds.
John,
I'll post the code tomorrow when I can dig it out of my TS computer,
but here's my basic strategy:
Fill an array with the ranges of the history you're interested in,
in this case, 7 values.
Sort the array.
If the current range is less than the sorted value of interest,
in this case, the first (smallest) value, then you've got a match.
Hope that's clear enough.
Jim
|