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:
- MqlDateTime is intended for working with date and time;
- MqlParam can send input parameters when creating a handle of the indicator using the IndicatorCreate() function;
- MqlRates is intended for manipulating the historical data, it contains information about the price, volume and spread;
- MqlBookInfo is intended for obtaining information about the Depth of Market;
- MqlTradeRequest is used for creating a trade request for trade operations;
- MqlTradeResult contains a trade server reply to a trade request, sent by OrderSend() function;
- MqlTick is designed for fast retrieval of the most requested information about current prices.
where is CTrailingNone? I thought I saw it as some class somewhere.
Hello,
Trailing stop classes, see: https://www.mql5.com/en/docs/standardlibrary/expertclasses/sampletrailingclasses
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
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
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!