PureBytes Links
Trading Reference Links
|
Hi the_real_redleg,
Tuesday, October 14, 2003, 7:27:01 PM, you wrote:
t> I would like to be able to use the backtesting feature for specific
t> days of the week only (i.e., backtest or optimize on all Mondays for
t> the past year). Is there an AFL code that will let me do this?
Yes. You can use DayOfWeek() function. For example, DayOfWeek() ==
1 will be true for all Mondays. Day 0 = Sunday through Day 6 =
Saturday. See DayOfWeek() in the AFL reference in Help.
I do not know if you can split the day's times like you want to or
not, but if you can someone will jump in and tell you how.
Yuki
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/JYdFFC/XP.FAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/
|