Why this simple script returns nothing?
I tried declaring the csymbolinfo object above, but its still nothing. Any help appreciated.
- Help in Understanding OOP of this expertMAMA.mq5 ea.
- user inputs + comment, disappears on the tester
- How to delete pending order?
At first you should set symbol name. Then you will be able to get properties of it.
void OnStart() { //--- CSymbolInfo *mysymbol = new CSymbolInfo; mysymbol.Name("EURUSD"); Alert(mysymbol.Name()); delete mysymbol; // do not forget delete pointers return; }
WWer:
At first you should set symbol name. Then you will be able to get properties of it.
Finally. Thx for this BIG help.