the other way is to create a copy of the array, loop thro the bars and mark them 0 unless they are between those dates and use max and min to find the high and low.
--- In [email protected], "wavemechanic" <[EMAIL PROTECTED]> wrote: > > One way to go is to use range markers, rather than drawing vertical lines. Using BeginValue(), EndValue(), and range markers you can define the range period and then find HHV() and LLV(). Read about using these functions in Help. > > Bill > > > ----- Original Message ----- > From: "mikeleekc" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, September 13, 2007 6:04 AM > Subject: [amibroker] Help- Finding the highest and lowest for a certain period of time > > > > Hi, > > I am pretty new to Amibroker and still have a lot to learn. > > I am trying to use AFL to detect the highest and lowest for a given > > period of time. > > So far I have not been successful. > > Eg. I want to find the highest and lowest for the period between 3rd > > March 2007 to 23rd July. I start by drawing 2 vertical lines on those > > dates and then name then V1 and V2. Now I want to find the highest and > > lowest between these 2 automatically using AFL. > > I have looked at HHV and LLV but I don't see how I can use them for my > > situation. > > > > I will be most grateful if someone can give me some pointers or point > > me in the right direction. > > > > Thanks. > > > > > > -- > > Michael > > > > > > > > Please note that this group is for discussion between users only. > > > > To get support from AmiBroker please send an e-mail directly to > > SUPPORT {at} amibroker.com > > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > > http://www.amibroker.com/devlog/ > > > > For other support material please check also: > > http://www.amibroker.com/support.html > > > > Yahoo! Groups Links > > > > > > >
