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

[amibroker] Re: coding a particular day



PureBytes Links

Trading Reference Links

I always find that it is best not to think too intelligently when creating
formulae. Try to think like "If I didn't know what an algorithm was, how
would I explain it!" :-)


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

footnote: no algorithms were hurt during the creation of this email.

-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx] 
Sent: Monday, March 15, 2004 11:02 AM
To: Graham
Subject: Re: [amibroker] coding a particular day

Hi Graham,

Monday, March 15, 2004, 11:00:31 AM, you wrote:

G> A simple way would be

G> ThisDay = dayofweek()==5 and day()>7 and day()<15 and month()%3==0;

Thank you very much.  Now that I see this in code it makes complete
sense, and it even looks rather simple.  But for some reason, I just
can't make the algorithms to save my soul.

Yuki



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



 



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:
     http://docs.yahoo.com/info/terms/