130 means:
ERR_INVALID_STOPS | 130 | Invalid stops. |
so either the stops are to close or in another way not valid or your broker just does not accept an order with target and stop. In this case send OrderSend() without stop or target and then send an OrderModify()
to set stop and target.
okay thank you will try that
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
Hello,
I've been trying to get my ordersend function to work but I keep getting error 130. The function is as follows:
What can I do to fix this?