v4 Added 'array' functions for getting daily values and caching them in your own scripts for reuse.
Added:
openDValues(daysPrior, spec, res) Gets all the open values for the number of days prior.
Parameters:
daysPrior: Number of days back to get the open from.
spec: session.regular (default), session.extended or other time spec.
res: The resolution (default = '1440').
Returns: An array of the previous open values.
closeDValues(daysPrior, spec, res) Gets all the close values for the number of days prior.
Parameters:
daysPrior: Number of days back to get the close from.
spec: session.regular (default), session.extended or other time spec.
res: The resolution (default = '1440').
Returns: An array of the previous close values.
highOfDValues(src, daysPrior, spec, res) Gets the highest value for the number of days prior for each day as an array.
Parameters:
src: The series to use for values.
daysPrior: Number of days back to get the high from.
spec: session.regular (default), session.extended or other time spec.
res: The resolution (default = '1440').
Returns: An array of the values.
highDValues(daysPrior, spec, res) Gets the highest value for the number of days prior for each day as an array.
Parameters:
daysPrior: Number of days back to get the high from.
spec: session.regular (default), session.extended or other time spec.
res: The resolution (default = '1440').
Returns: An array of the values.
lowOfDValues(src, daysPrior, spec, res) Gets the lowest value for the number of days prior for each day as an array.
Parameters:
src: The series to use for values.
daysPrior: Number of days back to get the high from.
spec: session.regular (default), session.extended or other time spec.
res: The resolution (default = '1440').
Returns: An array of the values.
lowDValues(daysPrior, spec, res) Gets the lowest value for the number of days prior for each day as an array.
Parameters:
daysPrior: Number of days back to get the high from.
spec: session.regular (default), session.extended or other time spec.
res: The resolution (default = '1440').
Returns: An array of the values.
hlc3DValues(daysPrior, spec, res) Gets the hlc3 value for the number of days prior for each day as an array.
Parameters:
daysPrior: Number of days back to get the high from.
spec: session.regular (default), session.extended or other time spec.
res: The resolution (default = '1440').
Returns: An array of the values.