# Running total

`cum`

The total of every value from the first bar.

## Inputs

| Name | Type | Default | Range |
| --- | --- | --- | --- |
| source | source | close |  |

## Outputs

| Name | Kind |
| --- | --- |
| cum | value |

Warm-up: 0 bars (0 at the defaults).

Repaints: No.

## Formula

The running total of the source from the first bar. A missing value restarts the total on the next bar that has one. The value depends on where the data starts.
