Making a EA base on a picture
-
Hello experts
I am trying to make a EA base on a picture.

The first block i use are bull and bear candle after that I gave the bear a Candle ID 1 and bull Candle ID 2. Under "bear candle I use the block "condition" to program Candle ID 1 is higher then Candle ID 2 on the upper candlestick. The same with under part of the candle stick. I use The block "indicator appears" to program the have atleast higher then 1 pip. On the bull side its empty because its the same.
Here is what I have build:

The properties looks like this:

For some reason It does only sell some of the pattern. Could some one help me?
-
Hello @Setsuna
I think that it is better if you explain your trading rules in order to help you.
As far as I understand, you are looking for a kind of candle pattern where
Candle (ID = 2) is bullish
&& Candle (ID = 1) is bearish
&& Open [1] > Close [2] + 1pip
&& Close [1] > Open [2] + 1pipThen, what do you want to do when those conditions are true?
-
@josecortesllobat if these conditioner are true im going to sell. question is how can i make a condition with sub property. how can i make a "candle ID 1" "open candle" greater then "candle ID 2" with 1pip greater
-
May I should ask. How can I make a condition with a extra property.
-
You want to use the "adjust" field there. Check the example picture:

-
-
@roar This is It. Thank you so much for your reply. So if I put +1pips that means: Atleast 1 pips greater then the other.

If I under this corretly the lower part of the candle stick of Candle ID 1 is atleast 1pips Higher then Candlestick ID 2
-
@setsuna
Almost right, just put the adjust to the other side, with the candle 2 open.I think the adjustment as "candle ID 1 close is above candle ID 2 open even though we lifted it by 1 pips"
-
@josecortesllobat . I like to work with candle sticks.

So when i see this pattern im going to sell. The bearish candle must atleast 1pips higher then then bullish candle. If so: it wil sell automatic
-
@roar Candle ID 1 must atleast 1pips above Candle ID 2 (the upper and lower part of the candle stick) On the description there is no "atleast" option. Because the bearish candle need atleast 1pips higer then the bullish candle.
-
@roar do you know how setting 1 pips or more (candle id 1 --> candle id 2)
-
@josecortesllobat. I have your EA closely and i think its heading the way i mean. But does IT works on more the 1 conditioner? Does => means greater then 1 pips?
-
Yes, it does.
You hust have to change the value in the Adjust "field"

Sorry, I did a mistake. You have to type "pips" instead of "pip"
+1pips will add the value of 1 pip to the operand value -> 1.00000 + 1pips = 1.00010 (5 digits broker)
-
@josecortesllobat for some reason it doesnt work
