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
mi__x__an:
with the function being universal,
Try to seeCComboBox class andEnumToString function. See also this articleCreate your own graphical panels in MQL5.
I've got that sorted out. The question was a bit different.
If theenum type exists and its components are unknown, is it possible to find them?
For example, there is theENUM_TIMEFRAME type
and our task is to find all the components of this type:{PERIOD_M1,PERIOD_M2...PERIOD_MN1} or{1,2...49153}
If you know all components of the type, you can implement a function that will return an array of possible values of theenum type. But is it possible to know the components of this type programmatically? For when creating newenum types we will have to write new functions of this kind, and it's not convenient.
Isn't there any possibility?
uncleVic - Isn't there a single possibility???
How many files can be opened at the same time?
By using this script :
it was possible to find out that there are 64.
If so, is this information in the documentation? I haven't found it.
P.S.: Just came across - had to determine by experience the cause of the error. In my opinion such information could be added to the documentation.
P.S.S: I may be mistaken - then correct me.
How many files can be opened at the same time?
By using this script :
it was possible to find out that there are 64.
If so, is this information in the documentation? I couldn't find any.
Runtime errors
ERR_TOO_MANY_FILES
5001
Cannot open more than 64 files at a time
Hello.
I have a little problem: I know MQL4, but I don't know MQL5. )))
Please help me to modify this code for MQL5.
In the form of an expert:
Thank you! ))