# Change

`change`

Value now minus the value a number of bars ago.

## Inputs

| Name | Type | Default | Range |
| --- | --- | --- | --- |
| source | source | close |  |
| period | int | 1 | 1 to 5000 |

## Outputs

| Name | Kind |
| --- | --- |
| change | value |

Warm-up: period bars (1 at the defaults).

Repaints: No.

## Formula

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