ParamDate
|
Exploration / Indicators |
SYNTAX | ParamDate( ''Name'', ''Default date'', format = 0 ); |
RETURNS | NUMBER or STRING |
FUNCTION | Adds a new user-definable date 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 = ParamDate( "Start Date", "2003-05-03" ); |
SEE ALSO | PARAM() function , PARAMCOLOR() function , PARAMSTR() function , ParamTime() function |
The ParamDate function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.