Discussion of article "The Optimal Method for Calculation of Total Position Volume by Specified Magic Number"
Because mt5 will always have only one position of a symbol, can we just use PositionGetDouble(POSITION_VOLUME) to obtain the current volum of the position?
Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Position Properties
- www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Position Properties - Documentation on MQL5
Yes, certainly.
file cannot be compiled.

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
New article The Optimal Method for Calculation of Total Position Volume by Specified Magic Number is published:
Author: Дмитрий