Registered User Joined: 8/4/2006 Posts: 66
|
I was wondering if anyone can give me or help me to write a condition Date Range that take FromDate and ToDate and then return T/F. I want my scan to run only for given period. Only one From/To Dates provided by Blocks but I need multple.
e.g. I've defined following Dates where market was bullish or bearish.
Date1 to Date2 - Bull
Date2 to Date3 - Bear
Date3 to Date4 - Bull
Date4 to Date 5 - Bear
Date 5 to Now - Bull
Now if Date Range condition is written then I can use it in my scan with OR
Date Range Date1 to Date2
OR
Date Range Date3 to Date4
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You may wish to try the Date Range Strategy Condition from my Wednesday, January 17, 2007 9:43:35 AM ET post in Test Period or the Between Dates Strategy Condition from Michael_T's Tuesday, July 17, 2007 9:35:41 AM ET post in Backscan over a specific date range?.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|