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 |

scanning for gaps Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
PTleader
Posted : Wednesday, September 11, 2013 3:26:59 PM
Gold Customer Gold Customer

Joined: 5/21/2005
Posts: 17

Hello

 

I am looking to write a formula to find gaps.  Specifically I am looking for two types.  When a stock has been in a downtrend and there is a doji or several dojis in a row then there is a bullsih candle that gaps up after the doji.  The gap can be very small or large. 

 

The second is when there is an uptrend and then a doji or several dojis and then a gap down on the next candle.

 

I am looking at end of day charts mostly and can refine it if I decide to do a shorter or longer timeframe.

 

Thanks for your help.

Bruce_L
Posted : Wednesday, September 11, 2013 4:00:55 PM


Worden Trainer

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

Do the dojis need to be exact dojis where the open equals the close or can they be near dojis? If they can be near dojis, how close to the open and close need to be?

How are you defining a gap up? As the open above the previous close, as the open above the previous high, as the low above the previous close, as the low above the previous high or something else?

How do you want to define a downtrend? Does the linear regression slope and/or net change over some arbitary period need to be negative, does a short term moving average need to be below a longer term moving average, do there need to be a certain number or certain percentage of negative net changes over some arbitrary period or something else entirely?



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