
How to start with MQL5
- 2020.03.12
- www.mql5.com
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors...
Your help is indescribable, thank you very much!
string symbol=PositionGetSymbol(i); // get position currency pair symbol
double SellResultado = PositionGetDouble(POSITION_PROFIT);
Select a position first. via CPositionInfo or directly.

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 am not able to get the sum of the open amounts. Can someone help me? Note: The sum of order quantity is ok.