I found a solution for the problem in a posting from 2017. I added this line:
tradeRequest.type_filling=ORDER_FILLING_IOC;
Now it works.
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 guys,
I plot a line in my chart, called "sl". Then I execute my code and I always receive this [Unsupported filling mode] error #4756.
I use almost the same code for my pending orders and they work. But where is the difference between a market order and a pending order regarding the filling mode??
This is my code, any help very appreciated!