Check Age Function Not Working properly
-
Good day friends, please help me out. My EA is supposed close trades after 5minutes the trade is opened but I discovered in the backtest that it only closes trades after 5minutes for some time and then will not close trade again.
What could be the problem, please help me check my EA https://fxdreema.com/shared/UPLZabNM
Thanks
-
@econsulttt Use pink blocks if you work with pink blocks, no combine it. Furtheremore, you need "for each trade/position" block above from anothers pink blocks (Depending of you want).
E.G:

-
@uriel-0 said in Check Age Function Not Working properly:
@econsulttt Use pink blocks if you work with pink blocks, no combine it. Furtheremore, you need "for each trade/position" block above from anothers pink blocks (Depending of you want).
E.G:

@uriel-0 Thanks for the response but can you please share the link to the example you gave?
-
@econsulttt Pink blocks need to be connected below another 'top' pink block like 'For each trade'. This is what Uriel suggested.
-
@l-andorrà I have done that https://fxdreema.com/shared/MdLX9YYGd still same issue.
-
@econsulttt Did you try to select 'older than or equal' instead of equal? If it doesn't work either then it is a bug because the logic is correct.
-
@l-andorrà said in Check Age Function Not Working properly:
@econsulttt Did you try to select 'older than or equal' instead of equal? If it doesn't work either then it is a bug because the logic is correct.
Thanks

It’s now working -
@econsulttt Then I'm afraid you will need to contact the admin.
-
You are not giving the block ID number sequence correctly. That might alter the logic sequence altogether.