Topic: candlestick patterns

Can anyone help me with ways to show this candlestick pattern into Logic conditions?  Pretty much I have to make the rule that:
1. Bar 1 and Bar 2 close higher than the open
2. Bar 3's High is Higher than the previous 2 bar high
3. Bar 3 close is lower than the open
4. Stoploss is 3 pips above the high of Bar 3
5. Take profit is the length of bar 3
http://s17.postimage.org/vmu9kcg97/ttt3.jpg

I tried to code it in Metatrader 4 using this website, but the coding is not working in Metatrader 4's backtester.  I only coded the selling strategy.

Can anyone at least get me started on the which indicators I should use to start this off?

Thanks

Post's attachments

YourExpertAdvisor (9).ex4 8.66 kb, 8 downloads since 2012-02-19 

You don't have the permssions to download the attachments of this post.

Re: candlestick patterns

I'm new to FSB and C# programming but from what I have done myself I hope the following helps, at least it's a start:-
Opening point of the position appears to be "Previous High Low".
Try the attached indicator for the Opening Logic Condition. (Check the coding and modify to suit).
Closing point of the position, try modifying the "Stop Limit" indicator to your requirements.

Post's attachments

Three Bar Reversal.cs 4.66 kb, 19 downloads since 2012-02-29 

You don't have the permssions to download the attachments of this post.