What does the asterisk * means? CTrailingNone *trailing=new CTrailingNone;

 

 What does the asterisk * means? ---> CTrailingNone *trailing=new CTrailingNone;

Was trying to find some resources related to this, if anyone knows any, please tell me...many thanks!

 
stargazer:

 What does the asterisk * means? ---> CTrailingNone *trailing=new CTrailingNone;

Was trying to find some resources related to this, if anyone knows any, please tell me...many thanks!

pointer, please reference its define in C language.

means trailing is a pointer to a data structur varible of CTrailingNone type.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Data Structures
  • www.mql5.com
Standard Constants, Enumerations and Structures / Data Structures - Documentation on MQL5
 
DxdCn:

pointer, please reference its define in C language.

means trailing is a pointer to a data structur varible of CTrailingNone type.

but data structure only has 8 types:


where is CTrailingNone? I thought I saw it as some class somewhere. 

 
Documentation on MQL5: Standard Library / Trading Strategy Classes / Trailing Stop Classes
  • www.mql5.com
Standard Library / Trading Strategy Classes / Trailing Stop Classes - Documentation on MQL5
Reason: