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

Re: [EquisMetaStock Group] HHV(close,n)



PureBytes Links

Trading Reference Links

Roy,

Just curious, would the alert function work in this case?

Preston


--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx> 
wrote:
> kut2k2
> 
> > I thought I'd better reply for the benefit of you and others:
> > LastValue(A) does apply the value of A 100 bars ago to any 
required
> > function also 100 bars ago. But it does not retain that value for
> > future reference because the entire array of LastValue(A) is 
changed
> > with every new bar of data. LastValue(A+PREV-PREV) does retain 
past
> > values *if* it exists. Unfortunately what I want to do gives error
> > messages for LastValue(A+PREV-PREV). I am very disappointed that
> > MetaStock spent thousands of code lines on garbage like Gann 
angles
> > yet something truly useful like a real dynamic time-period goes
> > lacking. :-(
> 
> I agree that a dynamic time period would be extremely useful. 
However it
> appears that that is not to be. I know that the "LastValue(A+PREV-
PREV)"
> work around does not work for every situation but sometimes the 
errors seen
> when attempting to use it can still be resolved.
> 
> I think I've had an error when the returned value was not an 
integer, and
> the solution was to use Int(). Also, I think a value of zero will 
usually
> give an error, and the solution can be as simple as adding one (+1).
> 
> Please feel free to contact me privately if you would like me to 
explore
> other possible solutions for what you want to do.
> 
> Roy


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/O10svD/Me7FAA/uetFAA/BefplB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/