Intraday Intensity Index (iii)
[[iii]] measures, for each bar, where the close sits within the high-low range, weighted by volume.
A positive value means the close is closer to the high than to the low. A negative value means the close is closer to the low. A value near zero corresponds to a close around the middle of the range.
For each bar, the indicator is defined as:
If the denominator is zero (for example when high == low or volume == 0), the value of the indicator for that bar is not available.
Block declaration
A strategy can contain multiple [[iii]] blocks. Each block outputs one numeric series representing the Intraday Intensity Index value for every bar.
This indicator does not have a length parameter. It is computed directly from the high, low, close prices and the volume of each bar.
Examples
Minimal setup
This block reads prices and volume from the main symbol and main timeframe defined in the [backtest] block.
[[iii]]
id = "iii"Specifying symbol and timeframe
This block computes the indicator on daily bars for BINANCE:BTCUSDT. See the Exchanges, Symbols and Timeframes page for alignment with other series.
[[iii]]
id = "iii"
symbol = "BINANCE:BTCUSDT"
timeframe = "D"Parameters
| Parameter | Description |
|---|---|
idString Required | Unique name for the III series. |
symbolString or Array Optional | Market symbol used to read the high, low, close, and volume series. If omitted, the block inherits the symbol defined in [backtest]. For symbol format, arrays, and alignment rules, see Exchanges, Symbols and Timeframes. |
timeframeString or Array Optional | Timeframe on which this indicator is computed. If timeframe is omitted, the computation uses the grid’s main timeframe defined in [backtest].For accepted formats and alignment rules, see Exchanges, Symbols and Timeframes. |
Available variables
Use the identifiers below directly in your expressions. The III block exposes one numeric series and its input metadata.
Assume the block is configured as:
[[iii]]
id = "iii"Then:
| Variable | Description |
|---|---|
iii or iii[0] (Decimal) | Current Intraday Intensity Index value. |
iii[n] (Decimal) | Intraday Intensity Index value from n bars ago. |
iii.symbol (String) | Symbol used. |
iii.timeframe (String) | Timeframe used. |