Registered User Joined: 4/12/2012 Posts: 5
|
I'm working on a PCF for finding flat top setups. End goal is to have a PCF that I can use as a scanner to find stocks that have 3 or more EQUAL or NEARLY EQUAL tops.
So I'm starting with simply current high is equal to a previous high
(H = H1)
or
(H = H2)
But I'd like to give a little more flexibilitiy to cast a wider net.
Is there a way I can say current high is within 2 cents of previous high?
(H = H1 + .01) or (H = H1 +.02)
That type of formual doesn't seem to work...is there anything I could do that might work better to achieve a similar end result?
Any other ideas would be welcome!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You could use something like the following.
ABS(H - H1) <= .02
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|