When closing/deleting, you ALWAYS need to count down :
for(int i=PositionsTotal()-1;i>=0;i--)
Alain Verleyen:
When closing/deleting, you ALWAYS need to count down :
ok thank you i will try and give feed back
Alain Verleyen:
When closing/deleting, you ALWAYS need to count down :
Still Same Issue??
Muhammad Mudasir:
Still Same Issue??
You are trying to close a position twice on a netting account.
Debug your code.
Alain Verleyen:
You are trying to close a position twice on a netting account.
Debug your code.
ok thanks i will look up the code

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 m using mt5 and the in the exchange execution i m facing very weird problem. can any one see the issue in my code
it make in and out in and out 2 or times to close the position
why the inout one more time ?? does nay one have an idea what i m doing mistake?