MT5 PROBLEM!!! HOW COME?
-
Hello, I am programming using mql5, but apparently does not work as mt4.
https://fxdreema.com/shared/XXKLXDMZb
Why it does not close the trade?
i have the same set up in mt4 and it works perfectly! -
@luigi_123 Is this the whole project or just a part of it? I don see any problem with the logic if this is the whole project?
-
@l-andorrà thanks for answering.
It's just a part, when I test the ea however some entries are skipped and the exit rules is not always followed. -
@luigi_123 Then we should see the whole project. Obviously the issue is anywhere else.
-
this is where the problem is.
This is the first entry rule of the whole project and it does not work properly, please test it on your mt5 platform.
Lot's of entries are skipped and exit rules do not work always. -
I think you should place Block 1(once per bar) after Block 2 and Block 6 so that you can check the conditions many times on every tick receive and performs once only when Condition is True.
I think on your current logic, it will only performs the logic of Buy and Close position when New Bar appears and wait for the next Bar to appear and check once again the Conditions if True because the Block 1(once per Bar) limits to test your condition one time only for every Bar Candle.