ParamList
- creates the parameter that consist of the list of choices

Exploration / Indicators
(AmiBroker 4.70)


SYNTAX ParamList( ''Name'', ''Values'', defaultval = 0 )
RETURNS STRING
FUNCTION Creates the parameter that consist of the list of choices (specified in "values" parameter - | or comma separated). defaultval parameter defines ordinal position of the default string value specified in "values" parameter. Returned value is a STRING representing choosen item.

IMPORTANT: Parameter names and values must NOT contain non-printable characters (ASCII codes < 32).

EXAMPLE OrderType = ParamList("Order Type", "MKT|LMT|STP" );
SEE ALSO ParamDate() function , PARAMSTR() function , ParamTime() function , ParamTrigger() function , PARAMCOLOR() function , PARAM() function

References:

The ParamList function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.