ta.iii
Measure where each bar closed within its range, divided by its volume.
ta.iii(bars)Intraday Intensity Index: (2*close - high - low) / ((high - low) * volume), pointwise on the bar from bars. The volume divides rather than multiplies, which is why this is not the per-bar term of ta.accdist.
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 | Unit | Default | Range | Description |
|---|---|---|---|---|---|---|
bars | Constant | bars | bars | na | - | Which bars to read: a declared series, or na for the chart's own. |
Output
| Name | Type | Unit |
|---|---|---|
value | number | - |
Warm-up and missing values
- Warm-up
- 1 bar.
- Missing values
- na on a bar with a zero high-low range, or with a volume that is missing or zero, because each is a division by zero here. na while
barshas no bar available.
Example
ta.iii()plot(ta.iii(), "Intraday intensity")