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 |

Bullish Engulfing pattern Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
giomorales
Posted : Tuesday, December 30, 2008 2:15:14 PM
Registered User
Joined: 3/12/2007
Posts: 10

I want to create a rule(s) for a Bullish Engulfing pattern setup but I don't know how to write the code. The conditions are below:

1. The stock must be in a downtrend based on the last 20 days

2.  First day of the pattern must be a black body (close < open)

3. Second day of the pattern must be a white body (close > open)

4. Second day's open must be lower than first day's close

5.  Second day's close must be higher than first day's close

6. Volume on first day of the pattern must be above average (21 day)

7.  Price must be below 7 day MA

8.  First day of the pattern should have a large upper shadow

9.  Second day of the pattern should have a large lower shadow.

Can you help me with this?

Thanks,
Gio

Julia_O
Posted : Tuesday, December 30, 2008 6:11:31 PM


Worden Trainer

Joined: 4/26/2007
Posts: 508
giomorales,

If you're working with StockFinder, you have a Rule library.  Click Add Rule (button in the bottom left of the price pane).  Choose Select from the button's menu.  Search for the Bullish Engulfing pattern and double-click once located to add it to the chart.  You can then scan, filter, paint candlesticks, etc. with the rule.

If that rule doesn't work for you or you have questions about method, let us know.

Best,
Julia
giomorales
Posted : Tuesday, December 30, 2008 6:23:26 PM
Registered User
Joined: 3/12/2007
Posts: 10
Hi Julia,

I have used the the Bullish Engulfing pattern provided with StokFinder. This pattern covers the basic definition of Bullish Engulfing (items 2 through 5 above). However, I don't know how to include items 1 (downtrend where the highest value in the last five days is less than the lowest value over four weeks, starting three weeks ago). Also, how do I include items 6 through 9?

Thanks,
Gio
Julia_O
Posted : Tuesday, December 30, 2008 7:41:12 PM


Worden Trainer

Joined: 4/26/2007
Posts: 508
gio-

Quick reply - I like it!  I've shared a Layout called Bullish Engulfing +.  
Search the Share library for it within the layout tab.  I think it's what you're looking for.  I have to say, the instances are few and far between, but the results on the charts I looked at were pretty good.

You can click the rule and select Edit RealCode to view the code and make any modifications.

Best,
Julia
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.