PureBytes Links
Trading Reference Links
|
Ken. Try something like this:
MonthWanted = ValueWhen(Cum(1)-1 ==0, Month());
DayWanted = ValueWhen(Cum(1)-1 ==0, Day());
YearWanted = ValueWhen(Cum(1)-1 ==0, Year());
Datewanted = NumToStr(Monthwanted,1.0) +"-"+ NumToStr(DayWanted,1.0) +"-"+
NumToStr(Yearwanted,4.0,0);
----- Original Message -----
From: "Ken Close" <ken45140@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, April 14, 2006 1:40 PM
Subject: [amibroker] Display Date of First Bar
>I want to run an explore on a watchlist of funds. The lengths of the data
> series vary for each fund. I would like to display a column showing the
> date of the first day of data for the fund. I have tried several
> combinations of BeginValue(BarIndex()) equal to things like cum(1)-1 and
> cannot get anything to work. I guess I need to display the date when
> cum(1)-1 == 0, but how to do it and have it appear in mm/dd/yyyy format?
>
> Any suggestions?
>
> Thanks,
>
> Ken
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.1/311 - Release Date: 4/13/2006
>
>
>
>
> 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
>
>
>
>
>
>
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/
|