Download MetaTrader 5

Documentation request - Values of constants

To add comments, please log in or register
Mihai Ionescu
1354
Mihai Ionescu 2010.09.28 15:20 

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.

Alexey Da
Moderator
6651
Alexey Da 2010.09.28 17:14  
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.


Mihai Ionescu
1354
Mihai Ionescu 2010.09.28 17:30  
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.


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? 

Alexey Da
Moderator
6651
Alexey Da 2010.09.28 18:06  
ifmihai:

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? 

The main reason is making source code more readable.

Just compare

SymbolInfoDouble(_Symbol,4)

and

SymbolInfoDouble(_Symbol,SYMBOL_ASK)
To add comments, please log in or register