LASTVAL Function

Modified on 2011/08/03 00:37 by Chad Lowe (CTS) — Categorized as: Uncategorized

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
ParameterDescription
<value>The value to look for.
<periods>The maximum number of periods to look back.



Back to the Scripting Function Reference