It marks the beginning of an initialization list for the class constructor.
Documentation on MQL5: Language Basics / Data Types / Structures, Classes and Interfaces
- www.mql5.com
Structures, Classes and Interfaces - Data Types - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Thank you very much
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
Hello,
On the below code
I dont understand the syntax. This is the constructor for that Trade class, the variables are declared under protected , but I dont undestand the syntax. the value between brackets is the asigned value at initiation?
Also what is the " : " meaning ?
I know that is stupid question, but kindly advise aabout this syntax, or at least point me where to read. Thank you.