PureBytes Links
Trading Reference Links
|
here is how to do
it,
rgds, Ed
//
find date in array dt = IIf(1060228 ==
DateNum(),1,0); // find value at
date ValueAtDate = LastValue(ValueWhen(dt,C)); "value
at date: " + WriteVal(ValueAtDate);
----- Original Message -----
Sent: Thursday, March 30, 2006 9:04 PM
Subject: [amibroker] Value on
date
> I'm sure this is simple, but how does one find the value of an array
> on a specific date? Example: Close on 2/28/2006? > > I
have tried various combindations of ValueWhen and DateNum, but > haven't
found the solution yet. I've also tried BeginValue and > EndValue, but
those seem to referrence the selected range on the > chart. I need this
to work independently of any selected range. > > Any help would be
appreciated. > > -Eric. > > > > >
> > ------------------------ Yahoo! Groups Sponsor
--------------------~--> > Try Online Currency Trading with GFT. Free
50K Demo. Trade > 24 Hours. Commission-Free. > http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM >
--------------------------------------------------------------------~->
> > 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 other
support material please check also: > http://www.amibroker.com/support.html > > > Yahoo! Groups Links > >
<*> To visit your group on the web, go to: >
http://groups.yahoo.com/group/amibroker/ > > <*> To unsubscribe from this group, send an email
to: > amibroker-unsubscribe@xxxxxxxxxxxxxxx > > <*> Your use of Yahoo! Groups is subject
to: > http://docs.yahoo.com/info/terms/ > > >
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 other support material please check also:
http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS
|