Thanks for showing the way
However Date() did not work but Datenum() worked
Value when requires the 2nd arguments to be an array Date() return a
string while Datenum() returns an array.
So I still had to convert Datenum() to a date string but the problem
is solved
Thank you very much for your response
--- In amibroker@xxxxxxxxx ps.com, "Paul Ho" <paultsho@xx .> wrote:
>
> valuewhen(C == Lowest(c), date())
>
>
> _____
>
> From: amibroker@xxxxxxxxx ps.com [mailto:amibroker@xxxxxxxxx ps.com]
On
Behalf
> Of meenhal
> Sent: Sunday, 25 May 2008 2:11 PM
> To: amibroker@xxxxxxxxx ps.com
> Subject: [amibroker] Re: LLV Date
>
>
>
> Thanks a lot
>
> BUT how do I find the date as I said:
>
> After this I need to add a column for the date on which LLV occured
>
> Amazingly enough I can find dates for other events using datenum()
> but this one is dodging me
>
> should be simple
>
> find lowest c, find datenum and convert to a dae string
>
> can't do it for low c for other events finding date has not been a
> problem
>
> --- In amibroker@xxxxxxxxx <mailto:amibroker% 40yahoogroups. com>
ps.com,
> Graham <kavemanperth@ > wrote:
> >
> > try
Lowest(C)
> >
> > --
> > Cheers
> > Graham Kav
> > AFL Writing Service
> > http://www.aflwriti <http://www.aflwriti ng.com> ng.com
> >
> >
> > 2008/5/25 meenhal <meenhal@>:
> > > AddColumn ( LLV(C,BarCount) , "Lowest Ever Close",1.2);
> > >
> > > After this I need to add a column for the date on which LLV
> occured
> > >
> > > I have tried AFL and VBS but can't do it
> > >
> > > Please help
> > >
> > >
> > >
> > >
> > > ------------ --------- --------- ------
> > >
> > > 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.amibroke <http://www.amibroke r.com/devlog/>
r.com/devlog/
> > >
> > > For other support material please check also:
> > > http://www.amibroke <http://www.amibroke r.com/support. html>
> r.com/support. html
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
>
>
>