Put this in the OnTick() finction:
m_lMainAcc.Text("Main Acc. "+(string)AccountInfoDouble(ACCOUNT_BALANCE));
Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Account Properties
- www.mql5.com
Account Properties - Environment State - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Osazee Asikhemhen #: Put this in the OnTick() finction:
I got error
Files:
Screenshot_y369u.png
21 kb
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 i have ((account balance )) in my EA panel,But when open position the balance it does not really move with the balance unless I make an refresh manual,How do I make it move every tick with balance in the include file please.