@fxDreema I found bug form MT5 that has version newer than Build 4040
Project that I use to test : https://fxdreema.com/shared/ScUyKSLbd
If I use Position closed - Close by TP / SL , It's will not detect this event
I try to use "Each closed Position" and "check how it was closed" to fix this problem but not succee
In MT5 Build 4040

In MT5 Build 4055

Could you check this , please?