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 |

candle pattern help Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
goodnfast
Posted : Tuesday, April 17, 2012 11:39:24 PM
Registered User
Joined: 3/28/2010
Posts: 7

Hi, I want to have a pcf for v12.1, or pcfs, which gives me a hammer candle result. I pulled this from researching earlier posts, and apologise if I missed your earlier answer(s) to this; I'm sure I'm not the first to ask. Here's what I copied:

- lower shadow more than twice the size of the body.
- upper shadow less than half the size of the body.

O - L > 2 * ABS(C - O) AND C - L > 2 * ABS(C - O) AND (H - O < ABS(C - O) / 2 OR H - C < ABS(C - O) / 2)
 

I'd like to add to it that this result occurs after a downtrend. How do we scan for only those that the previous 3 day candles were lower highs? That is, the high 2 days ago was lower than the high 3 days ago, and the high 1 day ago was less than the high 2 days ago, and the high today was less than the high 1 day ago?

Secondly, is it possible to use pivot points? 3 times ago the pivot point was higher than pivot point 2 times ago and pivot point 1 time ago was less than pivot point 2 times ago?

In either case, the hammer candle formula copied above would I assume follow the pcf(s) to determine the trend direction, either by lower highs or lower pivot points.

Thanks in advance for your time and help. If I may, I'm relatively new to Worden and am not certain how I'll know when you've replied, nor am I sure I can find your response. If you can send me TCmail or email it would be greatly appreciated. (email removed by moderator)

Ross
 

Bruce_L
Posted : Wednesday, April 18, 2012 9:01:19 AM


Worden Trainer

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

You could check for High to be down 3-bars in a row by adding:

AND H < H1 AND H1 < H2 AND H2 < H3

To the end:

O - L > 2 * ABS(C - O) AND C - L > 2 * ABS(C - O) AND (H - O < ABS(C - O) / 2 OR H - C < ABS(C - O) / 2) AND H < H1 AND H1 < H2 AND H2 < H3

You you could check for the Pivot Point to have been down 3-bars in a row by adding:

AND H2 + L2 + C2 > H3 + L3 + C3 AND H3 + L3 + C3 < H4 + L4 + C4

To the end:

O - L > 2 * ABS(C - O) AND C - L > 2 * ABS(C - O) AND (H - O < ABS(C - O) / 2 OR H - C < ABS(C - O) / 2) AND H1 + L1 + C1 < H2 + L2 + C2 AND H2 + L2 + C2 > H3 + L3 + C3 AND H3 + L3 + C3 < H4 + L4 + C4

Boolean PCFs for Candlestick Patterns
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
Learn how to use the forums: post a new topic, reply, Search existing topics



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