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

[amibroker] Re: Save a Stock Related Note on AB.......Can I?



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Br,
<FONT face=Arial color=#0000ff 
size=2> 
you 
could use valuewhen to find the barindex() at the beginning and end of range 
then simply calculate the difference....
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>x=valuewhen(your start date,barindex(),1);
<FONT face=Arial color=#0000ff 
size=2>y=valuewhen(your end date,barindex(),1);
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>days=y-x;
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: zoli_j 
[mailto:novizoli@xxxxxxxxxxx]Sent: Tuesday, February 03, 2004 10:20 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Number 
of days between two DatesHi Group,I would like 
to get the number of days between two Dates.How many days are til this year 
til midle of december?NumberOfDays = StrToDate('2004.12.16') - 
Now();How should I do in AFL?br 
Zoli.Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 
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 


Yahoo! Groups Links
  To visit your group on the web, go to:<A 
  href="">http://groups.yahoo.com/group/amibroker/  

  To unsubscribe from this group, send an email to:<A 
  href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 



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.