Your topic has been moved to the section: MQL4 e MetaTrader 4 — In the future, please consider which section is most appropriate for your query.
The return value for AccountNumber() is an int. The maximum value for an int is INT_MAX
INT_MAX
Maximal value, which can be represented by int type
2147483647
Even thought they might have the same value, don't use the constant EMPTY_VALUE which has a different meaning and use:
EMPTY_VALUE
Empty value in an indicator buffer. Default custom indicator empty value
2147483647 (0x7FFFFFFF)
AccountNumber - Account Information - MQL4 Reference
- docs.mql4.com
AccountNumber - Account Information - MQL4 Reference
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
Is it possible to use for calculating or checking value bigger as EMPTY_VALUE ?
For example:
where accountNumber bigger as EMPTY_VALUE .