Hi @fxDreema
I really appreciate your time to figure this issue out. I am sorry if I am not able to simplify the project as you required but I started using fxDreema builder some months ago and I am always learning from you and from other guys in the forum in order to improve my projects. Believe me. I don't want you waste your time.
When I set the TP to "No change", when the SL is modified the TP level was shifted to 0.00000. But I have checked right now with the original Project and it seems to be fine. Might be I did a mistake.
As I said, I was using variables and some Project complexity because I am learning how to do the same with less blocks thanks to your guides and the help of people like @miro1360. The original project has been meaningfully reduced but it is still happening the issue with the OnTrade position close detection when the EA is ran in a demo account. I hope with your test in a demo account we will get more info. I will take advantage of your simple project and I Will run it in my demo accounts. In the tester, the project works as expected. Like you got with your backtest. But not in a demo account.
I got "Invalid SL request…" messages in the tester when the SL has to be modified to a more profitable level. If the SL is triggered, all the trades (positions in the MT5 builder) are closed. I never got kind of messages in a demo account when the SL level was not shifted from the conditions in OnTrade section and no error or message is logged.
If I set the Closed by Take-profit option, I have a non-expected behavior as I log in the next post:
https://fxdreema.com/forum/topic/5933/ontrade-section-close-detection-by-tp-does-not-work-correctly
Thanks a lot for your support