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

RE: Formula for high and low of last x days



PureBytes Links

Trading Reference Links

Larry and Abhijit,

Thank you greatly for your timely response. 
This will really save me time in figuring and in application.

And Larry, that's exactly the method needed, 
except I will use one of my 10 feasible push-pop pushers 
(I don't like Global vars).


You guys are the best!!
Phil


> -----Original Message-----
> From: Larry [mailto:lameyering@xxxxxxxxxxxxx]
> Sent: Thursday, October 27, 2005 4:42 PM
> To: omega-list@xxxxxxxxxx
> Subject: Re: Formula for high and low of last x days
> 
> 
> It looks like that would not quite do it.  The "HighD(n)" would give
> only the high of "n" days ago not the high of the last 'x' number of
> days.
> 
> However, something like a=HighD(1); b=HighD(2); c=HighD(3); d=HighD(4);
> would allow you to compare the highs of the last four days and arrive at
> the highest high of the last four days.
> 
> This is, at least, part of what Phil is trying to do.  His other
> requirement is not to have the data that the values are derived from on
> the chart.  I see no way to get a value on data that, as far as the
> chart is concerned, does not exist.
> 
> That said, there is a way to do this with a chart established to gather
> just the data needed and to use 'global vars' to pass this data to
> another chart.  Or the daily high value can be collected and stored as a
> 'global value' and used on the next days chart.  The 'global var' does
> not disappear - it is stored as a registry value so it is available even
> after the computer is shut down and restarted.
> 
> Is this what you are trying to do Phil?
> 
> Larry 
> 
> Abhijit Dey wrote:
> > 
> > HighD(n) & LowD(n) ?
>