[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NR7 day showme code ?



PureBytes Links

Trading Reference Links

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