how to solve invalid request?

 

when backtesting 

2013.08.14 00:19:46 Core 1 2013.08.02 17:01:17   failed exchange sell 0.10 EURUSD at 1.32667 sl: 1.32780 tp: 1.32467 [Invalid request]

how to solve this? 

THANKS
 

but now eurusd is down you cant wait or stop it

 
kelly:

when backtesting 

2013.08.14 00:19:46 Core 1 2013.08.02 17:01:17   failed exchange sell 0.10 EURUSD at 1.32667 sl: 1.32780 tp: 1.32467 [Invalid request]

how to solve this? 

THANKS
Are you checking the  mqltrderesult and reporting the error and any associated relevant variables ?
 
kelly:

when backtesting 

2013.08.14 00:19:46 Core 1 2013.08.02 17:01:17   failed exchange sell 0.10 EURUSD at 1.32667 sl: 1.32780 tp: 1.32467 [Invalid request]

how to solve this? 

THANKS
Show the code of your request if you need help.
 
RaptorUK:
Are you checking the  mqltrderesult and reporting the error and any associated relevant variables ?
Are you ?
 

one of the solution is

MqlTradeRequest mrequest = {0};  

 when get a trade return code 10015, Invalid price in the request.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Data Structures / Trade Request Structure
Documentation on MQL5: Standard Constants, Enumerations and Structures / Data Structures / Trade Request Structure
  • www.mql5.com
Standard Constants, Enumerations and Structures / Data Structures / Trade Request Structure - Documentation on MQL5
Reason: