Show us your attempt (using the CODE button)
and state the nature of your problem.
No free help 2017.04.21
No free help 2017.04.21
- Please edit your (original) post and use the CODE
button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor - yoichi300: does anyone have an idea on how can i calculate the sum profit of open sell orders only and open buy orders onlyYour code displays an uninitialized variable; garbage. Where do you go through your open orders, get their types, sum their profits and print the results?

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
hello,
does anyone have an idea on how can i calculate the sum profit of open sell orders only and open buy orders only
regards