Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCF for double matching highs (flat tops) Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
greenmountainartist
Posted : Monday, July 14, 2014 10:23:55 AM
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!

 

Bruce_L
Posted : Monday, July 14, 2014 10:53:03 AM


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
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.