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

RE: [amibroker] AA/AFL: How many bars within date range



PureBytes Links

Trading Reference Links




<SPAN 
class=846152918-29042003>Um,
<SPAN 
class=846152918-29042003> 
<SPAN 
class=846152918-29042003>probably the simplest method would be to use a 
combination of valuewhen, datenum and barindex... something 
like...
<SPAN 
class=846152918-29042003> 
<SPAN 
class=846152918-29042003>start=valuewhen(datenum()==951231,barindex());
<SPAN 
class=846152918-29042003>end=valuewhen 
(datenum()==1011231 ,barindex());
<SPAN 
class=846152918-29042003> 
<SPAN 
class=846152918-29042003>count=end-start; 
<SPAN 
class=846152918-29042003> 
you 
might want to take a look at help for assistance deciphering the date 
format...
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: uenal.mutlu@xxxxxxxxxxx 
[mailto:uenal.mutlu@xxxxxxxxxxx]Sent: Tuesday, April 29, 2003 2:23 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
AA/AFL: How many bars within date rangeHi,how can I 
get the number of bars betweena given fromdate and todate in 
AA?ThxUMSend 
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 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.