Download MetaTrader 5

RETCODE ERROR 10036 how to solve?

To add comments, please log in or register
Jugler1986
22
Jugler1986  

 Hi there,

 

i got a problem with this error code (10036).

As far as I understand the MQL5 Documentation, this error says "Position with the specified POSITION_IDENTIFIER has already been closed"

How do I solve this Error? Any hints or do you need more data from me?

 

Thanks

 

Jugler 

 

 

2016.08.15 18:14:13.746 2016.08.01 07:03:20   order performed sell 2.24 at 1.11801 [#3 sell 2.24 EURUSD at 1.11801]
2016.08.15 18:14:13.746 2016.08.01 07:03:20   deal performed [#3 sell 2.24 EURUSD at 1.11801]
2016.08.15 18:14:13.746 2016.08.01 07:03:20   deal #3 sell 2.24 EURUSD at 1.11801 done (based on order #3)
2016.08.15 18:14:13.746 2016.08.01 07:03:20   position closed due end of test at 1.11801 [#2 buy 2.24 EURUSD 1.11767]
2016.08.15 18:14:13.746 stopped by user
2016.08.15 18:14:00.429 2016.08.01 00:01:00   Alert: Buy Stop Loss is:1.10767 And Servers Stop Level is: 0
2016.08.15 18:14:00.429 2016.08.01 00:01:00   Modify position: 10036 - Invalid return code of the trade server, SL: 1.10767, TP: 1.14767, Bid: 1.11715, Ask: 1.11767, Stop Level: 0
2016.08.15 18:14:00.429 2016.08.01 00:01:00   Alert: Modify position: Error 10036 - Invalid return code of the trade server
2016.08.15 18:14:00.429 2016.08.01 00:01:00   failed modify #2 buy 2.24 EURUSD sl: 0.00000, tp: 0.00000 -> sl: 1.10767, tp: 1.14767 [Position doesn't exist]
2016.08.15 18:14:00.429 2016.08.01 00:01:00   Open buy order #2: 10009 - Request is completed, Volume: 2.24, Price: 1.11767, Bid: 1.11715, Ask: 1.11767
2016.08.15 18:14:00.427 2016.08.01 00:01:00   order performed buy 2.24 at 1.11767 [#2 buy 2.24 EURUSD at 1.11767]
2016.08.15 18:14:00.427 2016.08.01 00:01:00   deal performed [#2 buy 2.24 EURUSD at 1.11767]
2016.08.15 18:14:00.427 2016.08.01 00:01:00   deal #2 buy 2.24 EURUSD at 1.11767 done (based on order #2)
2016.08.15 18:14:00.427 2016.08.01 00:01:00   instant buy 2.24 EURUSD at 1.11767 (1.11715 / 1.11767 / 1.11715)

To add comments, please log in or register