sorry but my english is not good when i change this parameter works well
but if i change it, didnt work
Add this line to your code . . . you are not reporting errors correctly . . . run this code and report back here with the result from the tester.log file/from the journal . . .
ironfx metatrader 4 version: 4.00 build 509 (24 jun 2013)
From the code you have shown I do not see how you are getting error 4059 and not error 130 . . . you are getting error 130 as you can see but the code you have shown should be reporting error 130 too.
In any case you should fix the error 130, you should verify, in code, that the trade you are planning to execute complies with these requirements: Requirements and Limitations in Making Trades the ideal situation is that you prevent placing Orders that will produce error 130.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
sorry but my english is not good when i change this parameter works well
but if i change it, didnt work
Add this line to your code . . . you are not reporting errors correctly . . . run this code and report back here with the result from the tester.log file/from the journal . . .
ironfx metatrader 4 version: 4.00 build 509 (24 jun 2013)
ironfx metatrader 4 version: 4.00 build 509 (24 jun 2013)
In any case you should fix the error 130, you should verify, in code, that the trade you are planning to execute complies with these requirements: Requirements and Limitations in Making Trades the ideal situation is that you prevent placing Orders that will produce error 130.
thanks for your help!