ta.min
Track the lowest level a series has reached, such as the trough of an equity curve.
ta.min(source)The lowest value the series has taken since the first bar of the run. It never rises. It has no window, so it differs from ta.lowest.
Parameters
A series parameter takes a value on every bar. A constant parameter must be known before the first bar, such as a number or an input.
| Name | Kind | Type | Default | Range | Description |
|---|---|---|---|---|---|
source | Series | number | - | - | The series to read. |
Output
| Name | Type |
|---|---|
value | number |
Warm-up and missing values
- Warm-up
- 1 bar.
- Missing values
- na until the first non-na observation. An na input leaves the value standing.
Example
ta.min(close)trough = ta.min(close)
plot(trough, "Run low")