We've added values for constants only (if we miss any we will fix it), but we are not going to add values for enumerators.
alexvd:
We've added values for constants only (if we miss any we will fix it), but we are not going to add values for enumerators.
We've added values for constants only (if we miss any we will fix it), but we are not going to add values for enumerators.
I personally don't see the difference.
I understand you wanted this way.
What is the idea beneath your decision? I mean, what's the logic?
ifmihai:
The main reason is making source code more readable.I personally don't see the difference.
I understand you wanted this way.
What is the idea beneath your decision? I mean, what's the logic?
Just compare
SymbolInfoDouble(_Symbol,4)
and
SymbolInfoDouble(_Symbol,SYMBOL_ASK)
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
In MQL4 documentation, when we had a list of predefined constants, we had their numerical values also.
In MQL5 we have only constants' names and description, but no numerical values.
Can we have back numerical values in MAL5 documentation?
Because it's cumbersome to try to find what value different constants have, when you need their int value instead of their names.
Right now, I thought maybe I could find them in some mqh file or something, but it would be really preferable to have these values listed in documentation. At least for me.