Download MetaTrader 5

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

To add comments, please log in or register
Publish your article. We will translate it into other languages!
stargazer
152
stargazer 2011.10.19 11:45 

 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!

okwh
1631
okwh 2011.10.19 11:58  
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
stargazer
152
stargazer 2011.10.19 12:07  
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. 

Amir Yacoby
1192
Amir Yacoby 2011.10.19 12:37  
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
To add comments, please log in or register