![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Thanks Paul
I think I have got a solution to find it, as load it from a single file, I can disable the load and will get error of not finding this class. I can check it from there.
You mentioning to share the code (if I need a solution) was not needed at all. I have tried this in past and most of the time it get unchecked.
'there are no tools beyond what is in the editor' is the right and good enough answer to my problem.
no problem, if want to be picky about the answers you get then I won't bother answering anymore of your questions
Thanks Paul
I think I have got a solution to find it, as load it from a single file, I can disable the load and will get error of not finding this class. I can check it from there.
You mentioning to share the code (if I need a solution) was not needed at all. I have tried this in past and most of the time it get unchecked.
'there are no tools beyond what is in the editor' is the right and good enough answer to my problem.
Not correct. There are tools, like this library
Not correct. There are tools, like this library
Use this library
Thanks a lot Amir :)
I have tried using lib and it helped me to pin point where the problem is causing. However below is the code and I have deleted the object but still getting this warning.
Any further clues what could be wrong?
Try to stop the debugger in constructor and destructor making sure they run the same number of times.
Either CExpertBase is not being deleted, or you have other instances of CMarketInfo.
It’s easy to check if you have other instances of CMarketInfo using a search (as I showed in my previous post). I think it will take up to 20 minutes for 5000 lines of code. Perhaps even less if you know how to search across multiple files at once (personally, I don’t use search across multiple files, so I don’t know exactly how it works).Are you calling destructor for CExpertBase()?
Try to stop the debugger in constructor and destructor making sure they run the same number of times.
Yes I did call the destructor of CExpertBase in Expert, but it is a loop for multi symbols.
Also I am having this problem in live test and not in strategy tester. Sorry I forgot to mention earlier.
Try to stop the debugger in constructor and destructor making sure they run the same number of times.
I marked debugger and start of constructor and destructor.
It did not stop at destructor. in first two attempts.
However now when I run debugger, it hangs off with Waiting For Update error
I marked debugger and start of constructor and destructor.
It did not stop at destructor. in first two attempts.
However now when I run debugger, it hangs off with Waiting For Update error
Any ArrayResize for cExperts somewhere? A change in mSymbolsCount?
Try to add the static instance counter m_occ to CMarketInfo
*update Also you can view the id of the objects not deleted with m_id printed in constructor/destructor
And print it after delete