I have idea for solution, where i take all profits from the balance to result in the total deposits, however, this seems a intensive way to get to what i want. Surely there is another way?
Fernando Carreiro #:
Analyse the deal type ... Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Deal Properties / Deal Type
Analyse the deal type ... Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Deal Properties / Deal Type
yes, that is page i was already analysing, so its great that you confirm that I am looking over the correct page. Thanks.

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
1 full hour of reading threads and posts to no avail. All input is appreciated.
Q...How do I add up all Deposits into account via code?