Block Trade Closed
-
MT4 onTrade
Block Trade Closed when I set the block to closed by Take Profit or Stop Loss. It doesn't count them or draw line
Block Trade Closed when I set the block to closed by not by Stop Loss or Take Profit.Count closed trades as Closed by Take Profit + Closed by Stop Loss + closed by not by Stop Loss or Take Profit.
That changed on Sunday, my old script works fine.
I hope it does make sense.
-
Hi @ziumo , i have to say that this happened to me too, i had an EA that worked perfectly with the trade closed block, I changed something else yesterday and it does not do it anymore...
-
@jaime-jimenez Please notice that the admin recently announced some code changes on those blocks. I strongly recommend you to remove them and use new ones.
-
@l-andorrà, thanks for answering, so if I delete that block and I put a new one (same one) will work?
-
@l-andorrà New block didn't help. Still the same issue at least in my case.
-
@FXDREEMA could you check that?
-
@ziumo I know it can be annoying, but I recommend you both to rebuild the whole EA from scratch. More than probably the old code is still present in you projects and it will not be substituted by the new one just by changing the block, sorry.
-
@l-andorrà, I already rebuilt my one and it does not work, that block does not work the same way anymore. Have you tried to rebuild it @ziumo ??
-
@jaime-jimenez I also have rebuild my script and it doesn't work.
@l-andorrà Check that simple script fxdreema.com/shared/KkyVrM5eb
BlueViolet is only on the mt4 that means closed by not TP or SL but everything is set to take TP or SL.
SL should be pink, TP green. -
@ziumo The we should consider the possibility of a new bug in the block.
-
Hi there! I suggest you opening a new project from scratch as the old bugs are present in the old environment, not in the blocks.

-
@ambrogio I did new project. fxdreema.com/shared/KkyVrM5eb that simple example was made as new project. It doesn't work.
How can I contact with someone from fxdreema? -
@ziumo It works for me

-
not really @ambrogio, since all those trades are closing by TP or SL and the system draws a violet line. Am I wrong? Thanks!
-
From the fxdreema.com page:

-
@Jaime-Jimenez You are right violet lines are closed by NOT TP or SL. All trades hit TP and SL so all lines should be pink and green.
@ambrogio Thanks for contact details.
-
@ziumo @l-andorrà @ambrogio I just tried again, once you select in closed by: SL or TP (separately) it does not work.
I guess whenever they changed the code for that block, they. forgot something.
I ve sent an email to the contact section of fxdreema, lets see what happens. -
@ziumo @Jaime-Jimenez you're right, I was thinking that the violet line overwrite the others because the block # 8 is the last, but it is not so
-
@jaime-jimenez Keep in mind that the administrator is not very fast in responding unfortunately.
-
I fixed it... I believe
I will give you all some extra time 