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 |

Head and shoulders Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Posted : Tuesday, May 15, 2012 12:49:30 PM
Registered User
Joined: 6/15/2011
Posts: 54

Can you please help me with a Pcf for a head and shoulder pattern ?

Posted : Tuesday, June 18, 2013 1:26:13 AM
Registered User
Joined: 2/11/2013
Posts: 78


Again, I found this  via search.  I was looking for a Head & Shoulders pcf.  I saw the real old post by Craig S. on how he'd approach it.  However, I think I've come up with a better mousetrap.  At least I like the results better the last few days.  Please let me know if I'm doing anything crazy or wrong.

Goal: Identify Head & Shoulders patterns that are now completing and have taken place within the last 2mo.

H&S defined as: 1) Shoulders above exterior edges, 2) Head at least 9% above Shoulders, 3) Neckline at least 5% below Shoulders (on both sides)

Here is my approach:

( C < C1 AND
  MAXC7      <= MAXC7.7   * 0.91 AND
  MAXC7.7   >= MAXC7.14 * 1.09 AND
  MAXC7.14   >= MAXC7.21 AND
  MINC8.3   <= MAXC7 * 0.95 AND
  MINC8.10 <= MAXC7.14 * 0.95 )
( C < C1 AND
  C < MAXC10 AND
  MAXC10      <= MAXC10.10  * 0.91 AND
  MAXC10.10  >= MAXC10.20 * 1.09 AND
  MAXC10.20  >= MAXC10.30 AND
  MINC10.5   <= MAXC10 * 0.95 AND
  MINC10.15 <= MAXC10.10 * 0.95 )
( C < C1 AND
  C < MAXC14 AND
  MAXC14     <= MAXC14.14  * 0.91 AND
  MAXC14.14 >= MAXC14.28 * 1.09 AND
  MAXC14.28 >= MAXC14.42 AND
  MINC14.7   <= MAXC14 * 0.95 AND
  MINC14.21 <= MAXC14.28 * 0.95 )
So, other than the complexity of a 3 option OR statement, have I made any logic mistakes you see?


Posted : Tuesday, June 18, 2013 7:49:48 AM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138

It seems like a fairly straightforward approach to me and the parentheses seem properly placed. I'm a bit concerned about the long spaces in the third and sixth line of each section, but if you have tested it already, the spaces must not be a problem. You could even continue extending the formula beyond the 28, 40 and 56 bars patterns used in the example formula.

Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic

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.