DxdCn:
That need your broker allow it, not controled by softare provider.
That need your broker allow it, not controled by softare provider.
But it is strange that the brokers allow it for manual trading and not for automatic trading no?
Do you know any broker where it works? I have not seen one yet.

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
In the OrderClose function you are able to define a lot size, then you would hope to only partially close the orders as it works for manual orders.
But it doesn't work. The order is closed only if the lot size is the total lot size (then why to have this extra parameter)
So the solution is usually either to open more smaller orders at the beginning (it is ok when you have 2 or 3 orders but would be a pain if it is 10) or to close the full order and to reopen a smaller order but then you pay several times the spread.
I think that the fact that the lot size doesn't work properly for OrderCLose is a bug (Metaquotes please confirm that)
Does anybody has a smarter workaround than the 2 solutions I presented?