Hi. Did someone of you experience difficulties to write code that closes orders, especially if they reach a certain stop loss or take profit. I found that when the market moves super fast, an additional "hidden" stop loss or take-profit can be very important. However, I get error #3 when the EA tries to close these positions (only happens every ~150th trade or so and all 149 other trades geht closed due to hitting to/sl).
Is there an error in the code (MT4)?
Thank you so much!!