kelly:
Are you checking the mqltrderesult and reporting the error and any associated relevant variables ?
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?
THANKSkelly:
Show the code of your request if you need help.
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?
THANKSRaptorUK:
Are you checking the mqltrderesult and reporting the error and any associated relevant variables ?
Are you ?
Are you checking the mqltrderesult and reporting the error and any associated relevant variables ?
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
- www.mql5.com
Standard Constants, Enumerations and Structures / Data Structures / Trade Request Structure - Documentation on MQL5
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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