Dropdown Input options list - MQL4

 

I have searched everywhere but cannot find the function/code that will allow me to specify a dropdown options list for an Input variable in MQL4.

Can anyone help me please?

 
Ernest Klokow:

I have searched everywhere but cannot find the function/code that will allow me to specify a dropdown options list for an Input variable in MQL4.

Can anyone help me please?

Hi,

I hope this can help you

https://docs.mql4.com/basis/types/integer/enumeration

and similar with that on MT5 is at https://www.mql5.com/en/docs/basis/types/classes

good luck

Enumerations - Integer Types - Data Types - Language Basics - MQL4 Reference
Enumerations - Integer Types - Data Types - Language Basics - MQL4 Reference
  • docs.mql4.com
After the enumeration is declared, a new integer-valued 4-byte data type appears. Declaration of the new data type allows the compiler to strictly control types of passed parameters, because enumeration introduces new named constants. In the above example, the January named constant has the value of 0, February - 1, December - 11. : If a...
 
Yohana Parmi:

Hi,

I hope this can help you

https://docs.mql4.com/basis/types/integer/enumeration

and similar with that on MT5 is at https://www.mql5.com/en/docs/basis/types/classes

good luck

Thank you very much!

Reason: