Does mql5 support indefinite parameter functions?

 

 For example, how to set multiple parameters for a function?

void f(double & a, double &b...)
{

}
 
Blur Darkness:

 For example, how to set multiple parameters for a function?

No.  64 is the maximum 
But you can pass structures and arrays by reference 
 
Paul Anscombe #:
No.  64 is the maximum 
But you can pass structures and arrays by reference 

I just want 3 or 5 parameters,but the number is uncertain.

 
Blur Darkness #:

I just want 3 or 5 parameters,but the number is uncertain.

3 or 5 is not a problem at all as I said maximum 64 

 
Blur Darkness #: I just want 3 or 5 parameters,but the number is uncertain.

There are no variadic functions.

See the following:
          Define Variadic Arguments in Functions? - Bollinger Bands, BB - Expert Advisors and Automated Trading - MQL5 programming forum (2018)
          Function with variable number of parameters - MQL4 programming forum (2018)
          Different Indicators Parameters to iCustom - MQL5 programming forum (2020)

 
Blur Darkness #:

I just want 3 or 5 parameters,but the number is uncertain.

Use an array.
 
Why it can't likes "Print(A,B,C...)"?
Reason: