I have an EA that made a mistake, it modified the SL without reason, any idea why this happened? this EA has a trailing stop that when TP2 is reached it moves to TP1 and so on. But all orders closed at the same time with a modified SL.
Regards
2019.09.24 21:51:50.983 '385970': order #82825022 sell 0.15 EURUSD at 1.10177 closed due stop-loss at price 1.10184
2019.09.24 21:51:50.983 '385970': order #82825020 sell 0.35 EURUSD at 1.10177 closed due stop-loss at price 1.10184
2019.09.24 21:51:50.983 '385970': order #82825030 sell 0.08 EURUSD at 1.10177 closed due stop-loss at price 1.10184
2019.09.24 21:51:50.108 '385970': order #82825030 sell 0.08 EURUSD at 1.10177 was modified -> sl: 1.10177 tp: 1.10127
2019.09.24 21:51:49.842 '385970': modify order #82825030 sell 0.08 EURUSD at 1.10177 sl: 6.10177 tp: 1.10127 -> sl: 1.10177 tp: 1.10127
2019.09.24 21:51:49.592 '385970': order #82825022 sell 0.15 EURUSD at 1.10177 was modified -> sl: 1.10177 tp: 1.10137
2019.09.24 21:51:49.358 '385970': modify order #82825022 sell 0.15 EURUSD at 1.10177 sl: 6.10177 tp: 1.10137 -> sl: 1.10177 tp: 1.10137
2019.09.24 21:51:49.311 '385970': order #82825020 sell 0.35 EURUSD at 1.10177 was modified -> sl: 1.10177 tp: 1.10147
2019.09.24 21:51:49.077 '385970': modify order #82825020 sell 0.35 EURUSD at 1.10177 sl: 6.10177 tp: 1.10147 -> sl: 1.10177 tp: 1.10147
2019.09.24 21:11:28.959 '385970': modification of order #82825020 sell 0.35 EURUSD at 1.10177 sl: 6.10177 tp: 1.10147 -> sl: 1.10177 tp: 1.10147 failed [Invalid S/L or T/P]
2019.09.24 21:11:28.756 '385970': modify order #82825020 sell 0.35 EURUSD at 1.10177 sl: 6.10177 tp: 1.10147 -> sl: 1.10177 tp: 1.10147
2019.09.24 20:01:18.501 '385970': order #82825030 sell 0.08 EURUSD at 1.10177 was modified -> sl: 6.10177 tp: 1.10127
2019.09.24 20:01:15.360 '385970': modify order #82825030 sell 0.08 EURUSD at 1.10177 sl: 0.00000 tp: 0.00000 -> sl: 6.10177 tp: 1.10127
2019.09.24 20:01:15.329 '385970': order was opened : #82825030 sell 0.08 EURUSD at 1.10177 sl: 0.00000 tp: 0.00000
2019.09.24 20:01:09.876 '385970': order sell market 0.08 EURUSD sl: 0.00000 tp: 0.00000
2019.09.24 20:01:09.845 '385970': order #82825022 sell 0.15 EURUSD at 1.10177 was modified -> sl: 6.10177 tp: 1.10137
2019.09.24 20:01:07.438 '385970': modify order #82825022 sell 0.15 EURUSD at 1.10177 sl: 0.00000 tp: 0.00000 -> sl: 6.10177 tp: 1.10137
2019.09.24 20:01:07.360 '385970': order was opened : #82825022 sell 0.15 EURUSD at 1.10177 sl: 0.00000 tp: 0.00000
2019.09.24 20:01:06.423 '385970': order sell market 0.15 EURUSD sl: 0.00000 tp: 0.00000
Regards
2019.09.24 21:51:50.983 '385970': order #82825022 sell 0.15 EURUSD at 1.10177 closed due stop-loss at price 1.10184
2019.09.24 21:51:50.983 '385970': order #82825020 sell 0.35 EURUSD at 1.10177 closed due stop-loss at price 1.10184
2019.09.24 21:51:50.983 '385970': order #82825030 sell 0.08 EURUSD at 1.10177 closed due stop-loss at price 1.10184
2019.09.24 21:51:50.108 '385970': order #82825030 sell 0.08 EURUSD at 1.10177 was modified -> sl: 1.10177 tp: 1.10127
2019.09.24 21:51:49.842 '385970': modify order #82825030 sell 0.08 EURUSD at 1.10177 sl: 6.10177 tp: 1.10127 -> sl: 1.10177 tp: 1.10127
2019.09.24 21:51:49.592 '385970': order #82825022 sell 0.15 EURUSD at 1.10177 was modified -> sl: 1.10177 tp: 1.10137
2019.09.24 21:51:49.358 '385970': modify order #82825022 sell 0.15 EURUSD at 1.10177 sl: 6.10177 tp: 1.10137 -> sl: 1.10177 tp: 1.10137
2019.09.24 21:51:49.311 '385970': order #82825020 sell 0.35 EURUSD at 1.10177 was modified -> sl: 1.10177 tp: 1.10147
2019.09.24 21:51:49.077 '385970': modify order #82825020 sell 0.35 EURUSD at 1.10177 sl: 6.10177 tp: 1.10147 -> sl: 1.10177 tp: 1.10147
2019.09.24 21:11:28.959 '385970': modification of order #82825020 sell 0.35 EURUSD at 1.10177 sl: 6.10177 tp: 1.10147 -> sl: 1.10177 tp: 1.10147 failed [Invalid S/L or T/P]
2019.09.24 21:11:28.756 '385970': modify order #82825020 sell 0.35 EURUSD at 1.10177 sl: 6.10177 tp: 1.10147 -> sl: 1.10177 tp: 1.10147
2019.09.24 20:01:18.501 '385970': order #82825030 sell 0.08 EURUSD at 1.10177 was modified -> sl: 6.10177 tp: 1.10127
2019.09.24 20:01:15.360 '385970': modify order #82825030 sell 0.08 EURUSD at 1.10177 sl: 0.00000 tp: 0.00000 -> sl: 6.10177 tp: 1.10127
2019.09.24 20:01:15.329 '385970': order was opened : #82825030 sell 0.08 EURUSD at 1.10177 sl: 0.00000 tp: 0.00000
2019.09.24 20:01:09.876 '385970': order sell market 0.08 EURUSD sl: 0.00000 tp: 0.00000
2019.09.24 20:01:09.845 '385970': order #82825022 sell 0.15 EURUSD at 1.10177 was modified -> sl: 6.10177 tp: 1.10137
2019.09.24 20:01:07.438 '385970': modify order #82825022 sell 0.15 EURUSD at 1.10177 sl: 0.00000 tp: 0.00000 -> sl: 6.10177 tp: 1.10137
2019.09.24 20:01:07.360 '385970': order was opened : #82825022 sell 0.15 EURUSD at 1.10177 sl: 0.00000 tp: 0.00000
2019.09.24 20:01:06.423 '385970': order sell market 0.15 EURUSD sl: 0.00000 tp: 0.00000