Thanks Mr Ara Kaloustian, Though I am yet to get what I wanted, surely it gives some idea, and I will try to build up on this. Thanks again.
perumal --- In [email protected], "Ara Kaloustian" <[EMAIL PROTECTED]> wrote: > > You need to know where the peaks are located. Either the actual bar number > or how many bars ago relative to last bar. > > Using elative values assume: > > Peak1 = 10; // 10 bars before last bars > Peak2 = 35; > > Lowestvalue = Ref(LLV(Low,(Peak2 - Peak1),-Peak1); // Lowest > vlaue between peaks > Lowestvlauebar = Ref(LLVBars(Low,(Peak2 - Peak1),-Peak1); // Bars since > lowest value and Peak1 > > CCILowest = Ref(LLV(CCI,-Lowestvaluebar),-Peak1); > > There may be error in code, but you get the idea. > > > ----- Original Message ----- > From: "umrperumal" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Friday, March 21, 2008 9:08 AM > Subject: [amibroker] How to find lowest price between two peaks > > > > Hi TJ and others, > > > > I am not able to find code to get the following values: > > > > 1) Lowest price between two peaks (Peak1 & Peak2) > > 2) CCI value corresponding to the lowest price above(lowest price > > between two peaks) > > > > Any help with codes for the above is highly appreciated. > > > > With thanks and kind regards > > > > UMR Perumal > > > > > > > > > > ------------------------------------ > > > > 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 > > > > > > >
