The issue isn't with late initialization . . .
void OnStart() { SpreadRatio *spreadRatio = new SpreadRatio(Symbol()); } class SpreadRatio { string m_symbol; public: SpreadRatio(const string symbol) { m_symbol= symbol; } ~SpreadRatio(void); // do stuff };
Anthony Garot:
yes I think so
The issue isn't with late initialization . . .
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
Hi
coding in mql5
myFile.mqh
myFile2.mq5
Any idea how to do a late initialization in this case?
Thanks