What about new operator? MQL vs C++
MyClass * p1 = new MyClass; //C++
MyClass * p1 = new MyClass(); // MQL5
creates an object pointer
not to be confused with a memory pointer
Perhaps you should read the manual. How To Ask Questions The Smart Way. 2004 How To Interpret Answers. RTFM and STFW: How To Tell You've Seriously Screwed Up.
In contrast to C++, the hobject variable from example above is not a pointer to memory, but rather an object descriptor. Object Pointers - Data Types - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Please enable the necessary setting in your browser, otherwise you will not be able to log in.