The Standard Scan Workbench can apply a criteria to just ONE single day, such as just today or just yesterday. It cannot search both today and yesterday. However, the SC support staff says that the Advanced Scan Workbench has the capacity for a 2-day search by using the “and/or” criteria to run the criteria against today's data OR yesterday's. But I cannot find the OR button anywhere. Can anyone tell me how to write criteria for an advanced scan in which the Plus DI line crosses above the Minus DI line for either today OR yesterday?
You are correct there is no button for the OR function. By default, the And function is used whenever you insert something into your scan. Just manually change it to OR. However, be careful how you use it.
Here's an example. Note how I nested the OR inside an extra set of brackets so it applies only to the two DI clauses.
Also, I used a price bracket—Close between 10 and 20—just for scan checking: it reduces the output. Running it now, I get 216 stocks that crossed today, and then running it with today's or yesterday's crosses, I get 422 stocks.
[close > 10] and [close <20] and [ [Plus DI(14) x Minus DI(14)] or [1 day ago Plus DI(14) x 1 day ago Minus DI(14)] ]
I hope this gives you some other ideas.
To see all the responses to this question, go to the original post on s.c.a.n.