Features of the mql5 language, subtleties and tricks - page 149
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
Thank you, good rule. Became a victim of my own incompetence. Really, need some more rule for such a more obvious case.
Maybe for both cases Warning clever to do?
Don't)))) It would be boring at all)))
What is the problem with this code? Deinit nailed the object by a constant pointer (I know the handle here). Normal limb firing in C++ style, otherwise the creators have dissolved everyone)))
There will be no problems at start-up. Once started, you can wait for a while and then create a situation for the EA that its execution will break down.
It's not a mystery, it's just that understanding comes much better if you look for the problem in seemingly innocuous code.There will be no problems at start-up. Once started, you can wait for a while and then create a situation for the EA that its execution will break down.
It's not a mystery, it's just that understanding comes much better if you look for the problem in seemingly innocuous code.I know what the problem is here. Change of time frame and oops... I mean, it's standard here. Warning? What for? For myself, when confronted with such a thing myself, I only count it in the raising of my skill. With your example, IMHO, here on the force of 20 percent of the community are able to encounter, so why deprive them of development?
I had an even more interesting situation. There was no change of anything, but OnDeinit was called after the reconnect. Now I'll keep an eye on Reason.
I am constantly faced with the need to search the Market Watch for the required symbol. For example, the current chart symbol.
Each time it takes a lot of precious time. I've made it automated by hotkeying the following script.
I'm always faced with the need to search the Market Watch for the required symbol. For example, the current chart symbol.
Each time it takes a lot of precious time. I've automated it by using the following script as a hotkey.
Colleague, clarify the purpose. Do you want the symbol to appear in the "Market Watch" or should it be highlighted in the "Market Watch"?
Colleague, clarify the purpose. Do you want the symbol to appear in the Market Watch or should it be highlighted in the Market Watch?
To be highlighted. A lot of custom ones, for example. I need to run Tester on that custom one, which chart I can see.
Then I run this script and after that, I drop the selected symbol in Market Watch with the mouse into the tester. It all takes a couple of seconds.
To be highlighted. For example, there are plenty of custom ones. I need to run the tester on that custom one, whose chart I can see.
Then I run this script, and after that, I drop the highlighted character in Market Watch with the mouse into the tester. It all takes a couple of seconds.
Well then this script does not work for me. Nothing happens, the symbol is not highlighted.
Launch, press Enter. I see an error in the log:
Yes, I named the scriptSetActiveSymbol.mq5.
I see an error in the logs
It just won't start like that. There is no file.
It just won't start like that. There is no file.
There is. I've only given one entry from the log. The full one is like this: