Freefox:
I don't see where you are checking that the SL & TP are correct ? they need to comply with what is written here: Requirements and Limitations in Making Trades what is your MODE_STOPLEVEL ? what are the Bid and Ask when your Modification fails ?
I seem to randomly get 130 errors when doing an OrderModify but the SL/TP levels are absolutely correct. Anybody have any ideas why?
This is so frustrating and I can’t see what else I can do with my code to fix it?
Here’s the snippet of code that is generating the error

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
I seem to randomly get 130 errors when doing an OrderModify but the SL/TP levels are absolutely correct. Anybody have any ideas why?
This is so frustrating and I can’t see what else I can do with my code to fix it?
Here’s the snippet of code that is generating the error