Sometimes my Expert Advisor doesn’t open/modify an order. Because:
- price changes so fast that the order gets prevented from going through.
- my network times out even a little bit.
How do I solve this in MQL4?
Example of my problem:
The Expert Advisor opens the first order. After 50 pips, the EA tries to open the second order and modify the TP/SL of the first order, but sometimes this fails. If both fail, how can I code a correction in MQL4?