AND BLOCK
-
@jstap it's not working
-
@jstap i found a solution but it keeps opening another position immediately after tp http://fxdreema.com/shared/2kTAlbwtd
-
It will, you have nothing to stop trades being placed.
-
@jstap there's no solution ?
-
Yes add some logical conditions.
-
@jstap Please how ?
-
First you have to decide what conditions you want to allow/disregard a trade, work this out and ask how to implement if it doesn't work.
-
@jstap it's a BUY only EA , so i only want it to open buy trades based on the conditions provided
http://fxdreema.com/shared/2kTAlbwtd -
So what's not working?

-
@jstap Hello, it doesn't open a trade buy trade at all
-
@jstap https://fxdreema.com/shared/4noxv4LQd Based on the above link the EA is supposed to open a buy trade when 9 EMA cross above 200 SMA and 9 EMA cross above 200 EMA, but this doesn't work at all. Some time it only uses the SMA but still display all the indicators
-
A cross will not happen at the same time, above and below will, if you back test this you can work out what will.
-
@jstap i found a way of combining both conditions, but after hitting my tp it immediately opens another buy trade instead of one trade per condition
http://fxdreema.com/shared/gnEftisCd -
You have to add condition(s) to prevent this.
-
@jstap Please how ?
-
Decide what your conditions are to allow/disallow a trade
-
@jstap ok?
-
@jstap it's for buy trades only
-
@jstap and also i found someone with the same problem and he didnt get any solution either

https://fxdreema.com/forum/topic/10245/how-to-create-two-conditions-for-1-trade
-
The solution is only yours, decide what you need, for example for 60min after trade closed EA will not entre another.