Running total
The total of every value from the first bar.
Inputs
| Name | Type | Default |
|---|---|---|
| source | source | close |
Outputs
| Name | Type | Required | Description |
|---|---|---|---|
| cum | value | Optional | color theme.accent, style line, width 1 |
- Warm-up
- 0 bars (0 at the defaults)
- Repaints
- No
- Parity
- None
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.