CMqlParams - MetaTrader 5 Library | Trading Script Download - MT4/MT5 Resources
Public methods:
Message parameters parameters[];public access to params array;
CMqlParams* Set(T data, ENUM_DATATYPE type = TYPE_LONG);This is the main way to set parameters. Methods can be chained to add multiple parameters at the same time. *See sample script.
T get( integer exponent);//example
int parameter = Get
(0); Returns the parameter data at index.
ENUM_DATATYPE type ( integer exponent)Returns the type at index.
integer all()Returns the total number of parameters.
CMqlParams* Clear()Clear the param array and set Total() to 0
Attachment download
📎 mqlparams.mqh (3.26 KB)
📎 mqlparams_example.mq5 (3.31 KB)
Source: MQL5 #18654
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •