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

Three Bars followed by Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
ahussain50
Posted : Sunday, April 24, 2016 4:06:32 PM
Registered User
Joined: 3/29/2005
Posts: 3

Looking for a PCF that will fulfill the following condition

3 strong green bars (with small or no tails) in a row followed by a red bar (or doji) followed by a green bar that closes above the high of the third green candle (one one before the red bar)

also looking for a PCF to adress the reverse condition

3 strong red bars (with small or no tails) in a row followed by a green bar (or doji) which is then followed by a red bar that takes out the low of the third red bar

Thanks in advance!

Bruce_L
Posted : Monday, April 25, 2016 10:41:34 AM


Worden Trainer

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

The following checks for the body to be at least 80% of the candle for the first three bars to check for the bars being stroning (with small or no tails). It also assumes you are interested in open vs close to determine if the bar is green or red since you are using candlestick terminology.

C > O AND C > H2 AND O1 >= C1 AND C2 - O2 > .8 * (H2 - L2) AND C3 - O3 > .8 * (H3 - L3) AND C4 - O4 > .8 * (H4 - L4)

Note the the above makes no assumptions about the positions of the bars relative to each other besides the close of the last bar being above the high of the third green candle.

Boolean PCFs for Candlestick Patterns



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ahussain50
Posted : Wednesday, April 27, 2016 8:05:35 AM
Registered User
Joined: 3/29/2005
Posts: 3

Thanks Bruce. 

Not getting results I was expecting. Can we simplify the formula to just

  • 3 green bars
  • Followed by red bar
  • Followed by green bar

So green, green, green, red, green

Thanks in advance

Bruce_L
Posted : Wednesday, April 27, 2016 2:47:48 PM


Worden Trainer

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

The following assumes the colors are based on Open vs Close.

C >= O AND C1 < O1 AND C2 >= O2 AND C3 >= O3 AND C4 >= O4

The following assumes the colors are based on Net Change.

C >= C1 AND C1 < C2 AND C2 >= C3 AND C3 >= C4 AND C4 >= C5



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ahussain50
Posted : Thursday, April 28, 2016 8:12:44 AM
Registered User
Joined: 3/29/2005
Posts: 3

Thank you!

Bruce_L
Posted : Thursday, April 28, 2016 8:49:58 AM


Worden Trainer

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

You're welcome.



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