How to make the user select from a list of inputs for a particular input ?
Normally if we include a string input, one can enter any string.
But i want to restrict to choose from a list of 3 strings just like in a combo box.
Normally if we include a string input, one can enter any string.
But i want to restrict to choose from a list of 3 strings just like in a combo box.
Something like this . . .
input ENUM_MA_METHOD MA_Method=MODE_SMMA;
from here: https://www.mql5.com/en/docs/basis/variables/inputvariables
- www.mql5.com
Use an ENUM.
Normally if we include a string input, one can enter any string.
But i want to restrict to choose from a list of 3 strings just like in a combo box.