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 |

Condition Scan 3 Bulls and Doji Gap Up Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
WayneWM
Posted : Monday, April 8, 2013 4:42:20 PM
Registered User
Joined: 1/27/2013
Posts: 17

Am having a problem with a Condition Scan for 3 Bull Days increasing in price each day and then a Doji Gap Up today. When I run a scan 'All Common Stocks', the code I am using produces 3 returns in the scan. Synbol HILL is  what I am looking for. Symbol NUW shows a Bull candle 2 days ago, a Bear candle 1 day ago and a Doji today that is a gap up above yesterday's Bear candle open.  The Symbol HPT.C shows a Bull candle 2 days ago, a Bear candle yesterday with a double bottom matching 2 days ago and a Doji gap up above the Bear candle open yesterday .  Can you offer any suggestions, please?  - Those bear candles should be Bull and no double    bottoms.                                                                                                                                                         (C3>O3) AND (O2>O3)*.50 AND (C2>O2) AND (O1>O2)*.50 AND (O>C1) AND (O=C)*.95 AND (H>C) AND (L<O)            Thanks, WayneWM  4-8-13  (Using 4-5-13 closing prices.)

Bruce_L
Posted : Monday, April 8, 2013 4:55:58 PM


Worden Trainer

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

I have no idea why you are multiplying booleans by values and then ANDing them together. Assuming you want the close of three bars ago to be above the open of three bars ago, the open of two bars ago to be above the open of three bars ago, the close of two bars ago to above the open of two bars ago, the open of one bar ago to be above the open of two bars ago, the current open to be above the previosu close and equal to the current close and the body of the candle to not be at either the top or bottom of the current candle, you would just get:

C3 > O3 AND O2 > O3 AND C2 > O2 AND O1 > O2 AND O > C1 AND O = C AND H > C AND C > O

If you have something else specific in mind, you need to describe the exact pattern you wish to identify without using terms that can have multiple meanisgs just as bull days.

Boolean PCFs for Candlestick Patterns



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