Exploration / Indicators
|SYNTAX||ParamTrigger( ''Name'', ''Button text'')|
|FUNCTION|| Creates trigger (button) in the Parameter dialog.
If you place ParamTrigger in the indicator code it will create a "button" in Parameter dialog that can be pressed. Normally ParamTrigger will return zero (0) but when button in the param window is pressed then it will refresh the chart and ParamTrigger will return 1 (one) for this single execution (further refreshes will return zero, until the button is pressed again)
IMPORTANT: Parameter names and values must NOT contain non-printable characters (ASCII codes < 32).
The ParamTrigger function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.