PureBytes Links
Trading Reference Links
|
Is this what you are
looking for?
TodaysWeekDay = DayString(<FONT color=#0000ff
size=2>SelectedValue(<FONT color=#0000ff
size=2>DayOfWeek()));<FONT color=#008000
size=2>
Cheers,Graham<A
href="">http://www.golala.com/forums/?mforum=asxsharetrading<A
href="">http://groups.msn.com/fmsaustralia
<FONT
face=Tahoma size=2>-----Original Message-----From: Herman van den
Bergen [mailto:psytek@xxxxxxxx] Sent: Sunday, 8 February 2004 3:25
PMTo: AmiBrokerSubject: [amibroker] When every day is
Saturday...
Hello,
I would like to
show the names of days for today and the last data
bar on some of my charts. Can somebody help me complete code for
Today's Weekday?
<FONT
color=#ff0000>function<FONT
face=Arial> DayString( D )
{ DayNames = <FONT
color=#ff00ff>"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday"<FONT
face=Arial>;
return<FONT
color=#000000> <FONT
color=#0000ff>StrExtract<FONT
size=2>(DayNames, D); }
TodaysWeekDay = DayString(Now<FONT
color=#000000>(3<FONT
color=#000000>)-LastValue<FONT
color=#000000>(DateNum<FONT
color=#000000>())); // <<<< WRONG
- HELP NEEDED!!!<FONT
color=#000000> <FONT
face=Arial>LastDataWeekDay =
DayString(LastValue<FONT
color=#000000>(ValueWhen<FONT
color=#000000>(BarIndex<FONT
color=#000000>()==(BarCount<FONT
color=#000000>-1<FONT
color=#000000>),<FONT
color=#0000ff>DayOfWeek<FONT
size=2>()))); LastDataDate = <FONT
color=#0000ff>LastValue(<FONT
color=#0000ff>DateTime<FONT
size=2>()); <FONT
color=#ff0000>Title =
"Today's Date: "<FONT
color=#000000>+TodaysWeekday+" "<FONT
color=#000000>+Now<FONT
color=#000000>(1<FONT
face=Arial>)+
"\nLast
Data: "+LastDataWeekDay+<FONT
color=#ff00ff>" "+<FONT
color=#0000ff>NumToStr(LastDataDate,<FONT
color=#ff0000>formatDateTime);
many thank!
hermanSend 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
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.
|