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
And that´s really a pity. You seem to have good ideas in view of correlation, programming and so on, but MQL4 gives you very tight barriers.
I can only recommend to everybody who is at least able to understand OOP, to reset his brain to basics and to re-learn programming on an OOP basis. OOP, here MQL5, definitely brings you on the next level of programming where you have possibilities that you never can achieve with native programming, at a efficiency which is also so many times higher than with native programming. One who claims it isn´t like that, simply never understood OOP entirely and the power behind it, especially inheritance and virtual overloading, which are THE ultimate keys at all. Just using the standard library is not real OOP programming, but it can be a good start to get into it. MQL5 is simply amazing and it´s 100% compatible with MT4 too.
ono don't get me wrong i do programming in both MQL4 and MQL5, but i prefer to use MQL4.
Totally wrong way. The classes may be buggy, but crash? No. And if there is something with this classes which is really working good, then it is object and memory management. But due to lack of documentation, most people seem to misunderstand how to it all.
@Young - please post the snipped ...
No prop. The questions are:
1. what is m_panel, an object or a pointer to an object?
2. where is the panel deleted? from a call within the class while its still active or outside?
3. .Delete() is a method of CWndContainer, dont use it for that.
If your m_panel is a pointer, use delete m_panel, then everything is gone. If its an object, use .Destroy() outside the execution code of the class