Does PositionTotal() function take into account all symbols?

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.
[Deleted]
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
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!
[Deleted]
Aymane Maizi #: Thank you, Fernando!
You are welcome!