# Delay

`delay`

The series moved a number of bars back.

## Inputs

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

## Outputs

| Name | Kind |
| --- | --- |
| delay | value |

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

Repaints: No.

## Formula

The source n bars ago: value[i] = source[i - n]. A series can only be moved back in time; the first n bars have no value.
