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

Re: [amibroker] AB's right margin



PureBytes Links

Trading Reference Links









<font size=2 color=black
face="Courier New">This works better

<font size=2 color=black
face="Courier New"> 

<font size=2 color=black
face="Courier New">FirstDateNum = <span
lang=EN-AU >ValueWhen<font
color=black face="Courier New">(<span
lang=EN-AU >BarIndex<font
color=black face="Courier New">() == <span
lang=EN-AU >0<font
color=black face="Courier New"> , <span
lang=EN-AU >DateNum<font
color=black face="Courier New">());

 

I did do a description of Cum() function recently, check the
emails for past month or so.

Also you will find a good description within the Help files
of what the terms mean and their uses.

 



Cheers,
Graham
http://e-wire.net.au/~eb_kavan/ 



<span
>-----Original Message-----
From: Gary A. Serkhoshian
[mailto:serkhoshian777@xxxxxxxxx] 
Sent: Sunday, April 18, 2004 10:37
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] absolute
bars/date references.

<font size=2
face="Times New Roman"> 



<font size=2
face="Times New Roman">Barindex() and Cum()
cover all bars for a given symbol.





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">To get the datenum of the
first bar for a given symbol you could do something like this:





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">FirstDateNum = BarIndex()
== 0 * DateNum();





<font size=2
face="Times New Roman"> 





<font size=2
face="Times New Roman">Kind Regards,





<font size=2
face="Times New Roman">Gary





<font size=2
face="Times New Roman">

qp
<mmqp@xxxxxxxxx> wrote:





Hi,<font
face="Courier New">

I want to reference to absolute bars/date; another
word reference to 
the left most bar available in the database. 
It seems to me that 
Barindex() and cum() only gives you the visible
bars.  Can someone 
give example of function use?

Also does DateNum() only works for visible bars?

TIA



Send BUG REPORTS to bugs@xxxxxxxxxxxxx<font
face="Courier New">
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx 
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html




<font
size=2 face="Times New Roman">





<span
>Do you Yahoo!?
Yahoo! Photos: <a
href="">High-quality
4x6 digital prints for 25¢ 

Send BUG REPORTS to
bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx 
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<font
face=Arial> 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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 the Yahoo! Terms of Service.