Have you tried deactivating the mobile media filter? It could be interfering with the closing signals.
Have you tried deactivating the mobile media filter? It could be interfering with the closing signals.
Yes, I tried it without the filter and curiously some functions improved. So there's probably part of the fault.
The poorly implemented filters are silent killers, blocking signals without a trace.
It's not to discourage you, but if that EA has already been touched by several coders before, it's more likely to be damaged from the root.
Yeah, I see it was more a collective experiment than a serious product.
A tip: use boolean flags in every section of the code. So you can track if you actually went through every stage of the shipment.
If it doesn't mark error but also doesn't place TP/SL, it may be failing silently in the OrderSend(
Is there any quick way to log all the mistakes without writing a thousand lines?
Sure. Make yourself a PrintError(
An EA that fails without feedback is like a bomb without a beep.