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 |

Need PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
endsley
Posted : Sunday, June 29, 2008 6:38:42 PM
Registered User
Joined: 3/15/2008
Posts: 45
I'm looking to analyze price bar spreads and want to know if you can write a pcf for:

today's price bar is at least 50% longer than the price bars for previous 5 days.

Thanks

Bruce_L
Posted : Monday, June 30, 2008 10:28:24 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you want it to be 50% larger than the average range, please try the following:

H - L >= 1.5 * (AVGH5.1 - AVGL5.1) AND H > L

If you want it to be 50% larger than the maximum range, please try the following instead:

H - L >= 1.5 * (H1 - L1) AND H - L >= 1.5 * (H2 - L2) AND H - L >= 1.5 * (H3 - L3) AND H - L >= 1.5 * (H4 - L4) AND H - L >= 1.5 * (H5 - L5) AND H > L

You may wish to review the following:

PCF Formula Descriptions
How to create a Personal Criteria Forumula (PCF)
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.