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

[amibroker] Re: Date of the Highest High



PureBytes Links

Trading Reference Links

This works.
Graham, thanks for your response.

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> instead of HHV use Highest
> 
> -- 
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://www.aflwriting.com
> 
> 
> On 31/01/07, directaim <directaim@xxx> wrote:
> > In exploration
> > how do I find
> > the date of the highest high
> > for any paticular ticker?
> >
> > My results are dates that are not the highest high
> > and sometimes several dates.
> >
> > I have tried many methods
> > all with the same results,
> > such as:
> >
> > //DateHiHi= Ref(DateNum(), -HHVBars(H, BarIndex()) );
> >
> > //DateHiHi= Ref( DateNum(), -BarsSince(H == HHV(H, BarIndex()) ));
> >
> > //DateHiHi=  ValueWhen( H == HHV(H, BarIndex() ), DateNum() );
> >
> > //DateHiHi = ValueWhen( HHVBars( H, 5000 )==0, DateNum() );
> >
> > //ValuHiHi = ValueWhen(  H == HHV(H, BarIndex() ) , H);
> > //DateHiHi = LastValue(ValueWhen( H == ValuHiHi ,    DateNum
(),1 ) );
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.18/662 - Release Date: 1/31/2007 3:16 PM