PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Yuki,
You
could use month() to find the first day of each month and barssince to count
them.....
<FONT face=Arial color=#0000ff
size=2>
x=<FONT face=Arial
color=#0000ff size=2>BarsSince<FONT face=Arial color=#282828
size=2>(Month<FONT
face=Arial color=#282828 size=2>()><FONT face=Arial color=#0000ff
size=2>Ref(<FONT face=Arial
color=#0000ff size=2>Month<FONT face=Arial color=#282828
size=2>(),-1<FONT face=Arial
color=#282828 size=2>))<=<FONT face=Arial color=#ff00ff
size=2>3;<FONT
face=Arial color=#0000ff size=2>
Plot(x,<FONT face=Arial
color=#ff00ff size=2>""<FONT face=Arial color=#282828
size=2>,4<FONT face=Arial
color=#282828 size=2>,2<FONT
face=Arial color=#282828 size=2>);
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Yuki Taga
[mailto:yukitaga@xxxxxxxxxxxxx]Sent: Wednesday, February 04, 2004
12:05 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
modifying day()Is there any way to return, say, the
first 4 *trading* days of amonth? Day() returns the day of the month
of course, but as far as Iknow without regard to whether it was an actual
trading day.To be clear, if a month began on a Saturday, I would be
interested inreturning Monday through Thursday, unless one of those days
happenedto be a holiday as well.YukiSend
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.
|