Change

changeoscillatorsForge API 1

Value now minus the value a number of bars ago.

Inputs

NameTypeDefaultRange
sourcesourceclose
periodint11 to 5000

Outputs

NameTypeRequiredDescription
changevalueOptionalcolor theme.accent, style line, width 1
Warm-up
period bars (1 at the defaults)
Repaints
No
Parity
TA-Lib, within 1e-12

Formula

change = x[i] - x[i-period]