Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1875
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
If you answer questions from newbies only, there will be no trolling at all. Unless, of course, he turns out to be a troll.
If you respond with normal information, or at least to comments, don't start writing nonsense in packs.
Drink foamy beer - you'll have a great bellyful...
You take that and you answer the new guy's question yourself.
Profit.
You think I'll be gone long?))) I only went to the fridge.
And how will the newcomer feel, not the poison you might think of, when given two different pieces of advice... Who to listen to? That's where it all started. That's it, let him give all the nonsense advice he writes, I don't care. CodeBase is riddled with it even without this kind of crap. A little more, a little less, whatever.It's just some "market women"! That's it. Let Artem deal with you. It's his job to deal with you. And I'm not going to respond to your flubbery.
It applies to everyone.
It touches everyone.
Well, Artem... you've scared everyone away. No one even asks anything... Then I'll go get some vodka, beer doesn't help...
Well, Artem... you've scared everyone away. No one even asks anything... Then I'll go get some vodka, beer doesn't help...
It's all about the hot Finnish guys, not the ones who need help. On the topic of the branch, of course.
Well, Artem... you've scared everybody away. Nobody even asks anything... Then I'll go for vodka, beer doesn't help...
Maybe I'll go straight to the extreme, for drugs :)
In general, it's sad when a technical forum, in a technical thread, starts a clownery.
Going back to StringToEnum, I found a relatively universal solution for cases where enumerations are numbered sequentially (1, 2, 3, ...).
For explicit numbering of sequences with large values will not work (e.g. ENUM_TIMEFRAMES). But, if you use your own enum without explicit numbering (or at least sequential numbering) - solution will work.
For all other cases you need bicycles, like static arrays of names of each possible value and string search in this array.