Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCFs and EasyScans for Candlestick Patterns Topic Rating:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Craig_S
Posted : Saturday, October 1, 2005 10:09:56 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
All candlestick patterns can be broken down into the relationships between the open, high, low and close of one candle to itself or as many candles as are in the patterns.

The following videos are considered REQUIRED viewing before you proceed
How to create a Personal Criteria Forumula (PCF)
Using EasyScan to find stocks that meet your own criteria
Constructing more versatile and reusable Personal Criteria Formulas
Create your own stock rankings using WatchLists and Sort conditions

Here are PCFs you can enter in your system that cover many of the relationships for three candles. By entering these into you TeleChart you will have tools you need to scan for any candle pattern you like.

Many like to scan for candlestick patterns by creating one Boolean PCF for each pattern. I prefer this method as it is not as tight (which lets me see some that are close to the pattern that I still may like) and because I can reuse the PCFs over many EasyScans. I've found myself using these PCFs in EasyScans that had nothing to do with candlestick patterns.

As an added bonus, many of these make great sorts for your WatchLists!

I don't recommend entering every one in at once. Enter them as you need them. At the bottom are many popular patterns and how to use these PCFs to find them.

---- Today's Candle ----
Close as % of Open
C/O*100

Body as % of Candle
ABS(C-O)/(H-L)*100

Body Center as % of Candle
((ABS(C+O)/2)-L)/(H-L)*100

Top of Body as % of Candle
(((((C>=O)*C)+((C<O)*O))*(-1))-L)/(H-L)*100

Bottom of Body as % of Candle
(((((C<=O)*C)+((C>O)*O))*(-1))-L)/(H-L)*100

Range as % of Average
(H-L)/(AVGH21-AVGL21)*100

---- Candle 1 Day Ago ----
Close as % of Open 1day ago
C1/O1*100

Body as % of Candle 1day ago
ABS(C1-O1)/(H1-L1)*100

Body Center as % of Candle 1day ago
((ABS(C1+O1)/2)-L1)/(H1-L1)*100

Top of Body as % of Candle 1day ago
(((((C1>O1)*C1)+((C1<=O1)*O1))*(-1))-L1)/(H1-L1)*100

Bottom of Body as % of Candle 1day ago
(((((C1<=O1)*C1)+((C1>O1)*O1))*(-1))-L1)/(H1-L1)*100

Range 1day ago as % of Average
(H1-L1)/(AVGH21.1-AVGL21.1)*100

---- Today's Candle vs Candle 1 Day Ago ----
High Today as % of High 1day ago
H/H1*100

Low Today as % of Low 1day ago
L/L1*100

Top of Body Today as % of ToB 1day ago
((((C>=O)*C)+((C<O)*O))*(-1))/((((C1>=O1)*C1)+((C1<O1)*O1))*(-1))*100

Bottom of Body Today as % of BoB 1day ago
((((C<O)*C)+((C>=O)*O))*(-1))/((((C1<O1)*C1)+((C1>=O1)*O1))*(-1))*100

Top of Body Today as % of BoB 1day ago
((((C>O)*C)+((C<=O)*O))*(-1))/((((C1<=O1)*C1)+((C1>O1)*O1))*(-1))*100

Center of Body Today as % if CoB 1day ago
((C+O)/2)/ ((C1+O1)/2)*100

Body as % of Body 1day ago
ABS(C-O)/ABS(C1-O1)*100

Candle as % of Candle 1day ago
(H-L)/(H1-L1)*100

High as % of ToB 1day ago
H/((((C1>=O1)*C1)+((C1<O1)*O1))*(-1))*100

Low as % of BoB 1day ago
L/((((C1<O1)*C1)+((C1>=O1)*O1))*(-1))*100

Bottom of body as % of Low Yesterday
((((C<O)*C) + ((C>O)*O))*(-1))/L1*100

Top of body as % of Center of Body Yesterday
((((C>O)*C)+((C<O)*O))*(-1))/((C1+O1)/2)*100

---- Candle 2 Days Ago ----
Close 2days ago as % of Open 2days ago
C2/O2*100

Body 2days ago as % of Candle 2days ago
ABS(C2-O2)/(H2-L2)*100

Body 2days ago Center as % of Candle 2days ago
((ABS(C2+O2)/2)-L1)/(H2-L2)*100

Top of Body 2days ago as % of Candle 2days ago
(((((C2>=O2)*C2)+((C2<O2)*O2))*(-1))-L2)/(H2-L2)*100

Bottom of Body 2days ago as % of Candle 2days ago
(((((C2<=O2)*C2)+((C2>O2)*O2))*(-1))-L2)/(H2-L2)*100

Range 2days ago as % of Average
(H2-L2)/(AVGH21.2-AVGL21.2)*100

---- Candle 1 Day Ago vs Candle 2 Days Ago ----
High 1day ago as % of High 2day ago
H1/H2*100

Low 1day ago as % of Low 2day ago
L1/L2*100

Top of Body 1day ago as % of ToB 2day ago
((((C1>O1)*C1)+((C1<=O1)*O1))*(-1))/((((C2>O2)*C2)+((C2<=O2)*O2))*(-1))*100

Bottom of Body 1day ago as % of BoB 2day ago
((((C1<=O1)*C1)+((C1>O1)*O1))*(-1))/((((C2<=O2)*C2)+((C2>O2)*O2))*(-1))*100

Center of Body 1day ago as % if CoB 2day ago
((C1+O1)/2)/ ((C2+O2)/2)*100

Body 1day ago as % of Body 2day ago
ABS(C1-O1)/ABS(C2-O2)*100

Candle 1day ago as % of Candle 2day ago
(H1-L1)/(H2-L2)*100

High 1day Ago as % of Low 2days Ago
H1/L2*100

Low 1day ago as % of High 2days Ago
L1/H2*100

High 1day ago as % of ToB 2days ago
H1/((((C2>=O2)*C2)+((C2<O2)*O2))*(-1))*100

Low 1day ago as % of BoB 2days ago
L1/((((C2<O2)*C2)+((C2>=O2)*O2))*(-1))*100

Keep in mind when scanning:
All limits use VALUE in the range selector
MIN to 99.99 means set the top limit to the first number under 100
100.01 to MAX means set the bottom limit to the first number over 100
These do not look for the stock to be in an up or down trend. Sort your results by Price Percent Change 5-day or 1-month in the appropriate direction to find stocks trending the correct way.
Gappers is already in your system. Set to gap up or down as needed.

Bullish Patterns

Abandoned Baby
Close 2days ago as % of Open 2days ago (MIN to 99.99)
Range 2days ago 1as % of Average (100.01 to MAX)
High 1day Ago as % of Low 2days Ago (MIN to 99.99)
Body Center as % of Candle 1day ago (40 to 60)
Body as % of Candle 1day ago (MIN to 10)
Gappers (gap up)
Close as % of Open (100.01 to MAX)
*Sort in ascending order*

Doji Star
Close as % of Open 1day ago (MIN to 99.99)
Body as % of Candle 1day ago (50 to MAX)
Range 1day ago as % of Average (100.01 to MAX)
Gappers (gap down)
Body as % of Candle (MIN to 20)
Body Center as % of Candle (40 to 60)
*Sort in ascending order*

Engulfing
Range 1day ago as % of Average (100.01 to MAX)
Close as % of Open 1day ago (MIN to 99.99)
Close as % of Open (100.01 to MAX)
Top of Body Today as % of ToB 1day ago (100.01 to MAX)
Bottom of Body Today as % of BoB 1day ago (MIN to 99.99)
*Sort in ascending order*

Hammer/Dragonfly Doji
Bottom of Body as % of Candle (75 to MAX)
Range as % of Average (100.01 to MAX)
*Sort in ascending order*

Harami
Close as % of Open 1day ago (MIN to 99.99)
Body as % of Candle 1day ago (70 to MAX)
Range 1day ago 1as % of Average (100.01 to MAX)
Close as % of Open (100.01 to MAX)
High as % of ToB 1day ago (MIN to 99.99)
Low as % of BoB 1day ago (100.01 to MAX)
*Sort in ascending order*

Homing Pigeon
Close as % of Open 1day ago (MIN to 99.99)
Body as % of Candle 1day ago (60 to MAX)
Range 1day ago as % of Average (100.01 to MAX)
High as % of ToB 1day ago (MIN 99.99)
Low as % of BoB 1day ago (100.01 to MAX)
Close as % of Open (MIN to 99.99)
*Sort in ascending order*

Inverted Hammer/Gravestone Doji
Top of Body Today as % of BoB 1day ago (MIN to 99.99)
Top of Body as % of Candle (MIN to 25)
Range as % of Average (100.01 to MAX)
Close as % of Open 1day ago (MIN to 99.99)
*Sort in ascending order*

Kicking
Close as % of Open 1day ago (MIN to 99.99)
Body as % of Candle 1day ago (100 to MAX)
Gappers (gap up)
Close as % of Open (100.01 to MAX)
Body as % of Candle (100 to MAX)
*No sort direction required*

Morning Doji Star
Close 2days ago as % of Open 2days ago (MIN to 99.99)
Range 2days ago as % of Average (100.01 to MAX)
High 1day Ago as % of Low 2days Ago (MIN to 99.99)
Gappers (gap up)
Close as % of Open (100.01 to MAX)
Body as % of Candle 1day ago (MIN to 20)
Body Center as % of Candle 1day ago (40 to 60)
Range 1day ago as % of Average (MIN to 99.99)
*Sort in ascending order*

Morning Star
Close 2days ago as % of Open 2days ago (MIN to 99.99)
Range 2days ago as % of Average (100.01 to MAX)
High 1day Ago as % of Low 2days Ago (MIN to 99.99)
Gappers (gap up)
Close as % of Open (100.01 to MAX)
*Sort in ascending order*

Piercing Line
Close as % of Open 1day ago (MIN to 99.99)
Range 1day ago as % of Average (100.01 to MAX)
Close as % of Open (100.01 to MAX)
Bottom of body as % of Low Yesterday (MIN to 99.99)
Top of body as % of Center of Body Yesterday (100.01 to MAX)
Top of Body Today as % of ToB 1day ago (MIN to 99.99)
*Sort in ascending order*

Three Inside up Bullish
Range 2days ago as % of Average (100.01 to MAX)
Close 2days ago as % of Open 2days ago (MIN to 99.99)
High 1day ago as % of ToB 2days ago (MIN to 99.99)
Low 1day ago as % of BoB 2days ago (100.01 to MAX)
Price Percent Change Today (.01 to MAX) (greater than zero)
Close as % of Open (100.01 to MAX)

Three Stars in the South
Close 2days ago as % of Open 2days ago (MIN to 99.99)
Body 2days ago Center as % of Candle 2days ago (51 to MAX)
Body 2days ago as % of Candle 2days ago (MIN to 50)
Close 1days ago as % of Open 1days ago (MIN to 99.99)
Body 1days ago Center as % of Candle 1days ago (51 to MAX)
Body 1days ago as % of Candle 1days ago (MIN to 50)
Candle 1day ago as % of Candle 2day ago (MIN to 99.99)
Low 1day ago as % of Low 2day ago (100.01 to MAX)
Close as % of Open (MIN to 99.99)
Body as % of Candle (99 to MAX)
High Today as % of High 1day ago (MIN to 99.99)
Low Today as % of Low 1day ago (MIN to 99.99)

Unique Three River Bottom
Close 2days ago as % of Open 2days ago (MIN to 99.99)
Range 2days ago as % of Average (100.01 to MAX)
Close as % of Open 1day ago (MIN to 99.99)
Body Center as % of Candle 1day ago (76 to MAX)
Low 1day ago as % of Low 2day ago (MIN to 99.99)
Low Today as % of Low 1day ago (100.01 to MAX)
Close as % of Open (100.01 to MAX)
Range as % of Average (MIN to 99.99)
Price Percent Change Today (MIN to -0.01) (less than zero)



Bearish Patterns

Abandoned Baby
Close 2days ago as % of Open 2days ago (100.01 to MAX)
Range 2days ago 1as % of Average (100.01 to MAX)
Low 1day ago as % of High 2days Ago (100.01 to MAX)
Body Center as % of Candle 1day ago (40 to 60)
Body as % of Candle 1day ago (MIN to 10)
Gappers (gap down)
Close as % of Open (MIN to 99.99)
*Sort in descending order*

Dark Cloud Cover
Close as % of Open 1day ago (100.01 to MAX)
Body as % of Candle 1day ago (50 to MAX)
Range 1day ago as % of Average (100.01 to MAX)
Close as % of Open (MIN to 99.99)
Bottom of Body Today as % of BoB 1day ago (100.01 to MAX)
Top of Body Today as % of ToB 1day ago (100.01 to MAX)
*Sort in descending order*

Engulfing
Range as % of Average (100.01 to MAX)
Close as % of Open 1day ago (100.01 to MAX)
Close as % of Open (MIN to 99.99)
Top of Body Today as % of ToB 1day ago (100.01 to MAX)
Bottom of Body Today as % of BoB 1day ago (MIN to 99.99)
*Sort in ascending order*

Hanging Man
Body as % of Candle (MIN to 33)
Body Center as % of Candle (80 to MAX)

*** This post is a work in progress. I will be adding to it as time goes by. Feel free to post below any patterns you would like added to this list ****

- Craig
Here to Help!
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.