ta.change
source - source[length].
ta.change(source: float, length: simple int = 1) -> series float
Parameters
sourcefloat: The values to use, usually close or another price; a series that may change on every bar.lengthsimple int: Bars back to compare with (default 1); a literal or an input. na while fewer bars exist.
Example
ta.change(close)