ParamTime
|
Exploration / Indicators |
SYNTAX | ParamTime( ''Name'', ''Default time'', format = 0 ); |
RETURNS | NUMBER or STRING |
FUNCTION | Adds a new user-definable time 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.
WARNING: default parameter has to be CONSTANT. This is because these values are cached and are not re-read during subsequent formula evaluations. IMPORTANT: Parameter names and values must NOT contain non-printable characters (ASCII codes < 32). |
EXAMPLE |
start = ParamTime( "Start Time", "09:30" ); |
SEE ALSO | PARAM() function , PARAMCOLOR() function , ParamDate() function , PARAMSTR() function |
The ParamTime function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.