OrderSend error 130?
There are at least a thousand topics about error 130 on this forum, did you try to find an answer ?
Check your stop is set according to the rules.
Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial
- book.mql4.com
Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial
With the following code I cant see why I'm getting order send error 130? When I test on my broker vipromarkets it is bug free but when I take it to auto validation it returns ordersend error 130.
Why is it the first code here works okay with no bugs :
But when I change it to the following I get the bug :
I'm sure the problem lies somewhere as outlined?