I dont want it be profit for current opened trades (if I type AccountInfoDouble(ACCOUNT_PROFIT). I want overall daily profit. How can I do that?
Files:
Screenshot_16.png
1 kb
IgorFX Trading: I want overall daily profit. How can I do that?
You will have to calculate it.
Could EA Really Live By Order_History Alone? (ubzen) - MQL4 programming forum (2012)
Taking the last profit and storing it in a variable | MQL4 - MQL4 programming forum #3 (2020)
IgorFX Trading:
I dont want it be profit for current opened trades (if I type AccountInfoDouble(ACCOUNT_PROFIT). I want overall daily profit. How can I do that?
I dont want it be profit for current opened trades (if I type AccountInfoDouble(ACCOUNT_PROFIT). I want overall daily profit. How can I do that?
Have a look at this thread
https://www.mql5.com/en/forum/302805
There are a few code examples in there which may help
accoount balance history - How to get the past account balance of my last 10 trades in Metaeditor
- 2019.02.10
- www.mql5.com
How to get the account balance of the last 10 trades. Sorry not sure if that helped, or total waste of time. How do youput your account balance in the comment. With this code ( please try it ) you will have your current balance on comment
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