csymbolinfo object above, but its still nothing. Any help appreciated.
I tried declaring the - 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.
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