- add user user-definable string parameter

Exploration / Indicators
(AmiBroker 4.30)

SYNTAX ParamStr( ''name'', ''default'' )
FUNCTION Adds a new user-definable parameter, which will be accessible via Parameters dialog :
right click over chart pane and select "Parameters" or press Ctrl+R allows to change chart parameters - changes are reflected immediatelly.

  • "name" - defines parameter name that will be displayed in the parameters dialog
  • "default" - defines default value of the parameter

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

EXAMPLE ticker = ParamStr( "Ticker", "MSFT" );
SEE ALSO PARAM() function , PARAMCOLOR() function


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

More information:

See updated/extended version on-line.