Bullish Reversal

0
(0)
Name:
Bullish Reversal
Author: arobles (2012.08.13 08:50)
Rating: 1
Downloaded: 7376
Download:
Bullish Reversal 1
 Bullish Reversal.mq4 (4.2 Kb) View
Author:

Adrian Robles

Description:

This EA executes trades when it recognizes candlestick patterns that are associated with Bullish Reversals. Test have been ran on the daily chart. The code still needs a lot of work, so trade at your own risk.

Image:

See attached Files.

Recommendations:

Recommend reviewing and altering the code to your risk preferences.

2 comments  To post a new comment, please log in or register

MQL4 striped out this part when uploading the code with out mentioning any reason. The code is far too simple to be IP (in this newbie's uninformed opinion) and the conditions are original (if there is such a thing), but correct the EA at your own risk. If any moderator has an issue with this section please take it down, I am not trying to violate any rules or steal anyone's work.

The Missing Code:

// Definition of patterns from FXWORDS.COM (not advertising)

// strong Indicator

bool abandoned_baby=((open3>close3)&&(open2>close2)&&(low2<low3)&&(open1<close1)&&(low1>=low2)&&(close1>open3));

bool morning_doji_star=((open3>close3)&&((open2-close2)<=0)&&(open1<close3)&&(close1<open3));

bool three_inside_up=((open3>close3)&&(MathAbs(close2-open2))<=0.6*MathAbs(open3-close3)&&(close2>open2)&&(close1>open1)&&(close1>open3));

bool three_outside_up=((open3>close3)&&(1.1*MathAbs(open3-close3)<MathAbs(open2-close2))&&(open2<close2)&&(open1<close1));

bool three_white_soldiers=((open3<close3)&&(open2<close2)&&(open1<close1)&&(close3<close2<close1));

//----

// Weak

bool hammer=((MathAbs(low1-MathMin(open1,close1))>=2*(MathAbs(open1-close1)))&&((MathAbs(high1-MathMax(open1,close1)))<=0.2*(MathAbs(close1-open1))));

// set up algo

if ((abandoned_baby==true||morning_doji_star==true||three_inside_up==true||three_outside_up==true||three_white_soldiers==true)&&open1<MA)

{

21.08.2012 21:16 arobles

My opinion this is not coding....

full of errors

I thought MetaQuotes did proofreading before publishing

if ()&&open1>MA)

This is something you can see directly wrong coded

If MetaQuotes publish this kind of writing then my opinion is STOP DIRECTLY with it

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.