Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Multiple Date Range Condition Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
newinvestorlearning
Posted : Tuesday, January 1, 2008 11:53:58 PM
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
Bruce_L
Posted : Wednesday, January 2, 2008 9:11:49 AM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.