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

RE: [amibroker] Display Date of First Bar



PureBytes Links

Trading Reference Links

So sweet.  Worked perfectly.

Many thanks,

Ken 

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of cstrader232
Sent: Friday, April 14, 2006 2:08 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Display Date of First Bar

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



 


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/311 - Release Date: 4/13/2006
 

-- 
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

<*> 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/