Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/4/2005 Posts: 55
|
Bruce,
Is it possible using PCFs/EasyScan with TC2000 PC version, to scan for stocks where a price bar moves above a previous bar which has one to x bars in between that are lower than the first (previous) bar? Basically price moves up (1st bar), dips one or more bars, then closes above price of 1st bar.
Thanks,
Ed
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Is there a limit to x?
Does the price need to go above the high or the close of x bars ago?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/4/2005 Posts: 55
|
x can be one to ten, and price needs to close above close x bars ago.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following Condition Formula.
(C > C2 AND C1 < C2) OR (C > C3 AND MAXC2.1 < C3) OR (C > C4 AND MAXC3.1 < C4) OR (C > C5 AND MAXC4.1 < C5) OR (C > C6 AND MAXC5.1 < C6) OR (C > C7 AND MAXC6.1 < C7) OR (C > C8 AND MAXC7.1 < C8) OR (C > C9 AND MAXC8.1 < C9) OR (C > C10 AND MAXC9.1 < C10) OR (C > C11 AND MAXC10.1 < C11)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/4/2005 Posts: 55
|
Looks to be doing what I'm wanting. Pretty clever using the MAX cmd.
Thank you Bruce...
Ed
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |