![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi friends,
I have a script to only place new orders if position.Volume == 0. THe problem is that even after i've done the position.close, position.volume continues to carry the old position value.
In test environment I can see the position.close flattening my position but a Print of position.Volume keeps showing me the old position.value.
Does any one already had this problem?
Rgds,
Flavio