
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
When this code was created, MT5 probably only supported "netting" accounts, so an opposite trade would close it.
However, now there is a the "hedging" account type, and so an opposite order is opened instead of closing.
So, the code will have to modified to allow closing the trade.
When this code was created, MT5 probably only supported "netting" accounts, so an opposite trade would close it.
However, now there is a the "hedging" account type, and so an opposite order is opened instead of closing.
So, the code will have to modified to allow closing the trade.
Recommendations are against forum rules. You will have to do your own research.