Basically the title and if doesn't then how can I get the number of total positions opened in my account across all symbols? thank you.
- How I can select position >1
- Get open positions tickets based on the symbol
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
Aymane Maizi: Basically the title and if doesn't then how can I get the number of total positions opened in my account across all symbols? thank you.
PositionsTotal() returns total number of open positions on any and all symbols.

Documentation on MQL5: Trade Functions / PositionsTotal
- www.mql5.com
PositionsTotal - Trade Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Thank you, Fernando!

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