desktop:desktop_chart_scripting_function_reference_lastval_value_periods

This is an old revision of the document!


LASTVAL Function

  • LASTVAL( <value>, <periods> )

Returns the nearest non-Nil value over the last number of periods for the current data point.

This method looks back up to the specified number of periods and returns the first non-NIL value it finds.

Function Parameters Parameter Description <value> The value to look for. <periods> The maximum number of periods to look back.

  • desktop/desktop_chart_scripting_function_reference_lastval_value_periods.1641929890.txt.gz
  • Last modified: 2023/09/21 19:55
  • (external edit)