True when the chart's timeframe is measured in seconds, such as 1S or 30S.
timeframe.isseconds is true on a seconds chart and false on every other kind. It is a simple bool.
Seconds charts hold many more bars per day than minute charts, so scripts often shorten a lookback or skip heavy work when this flag is true.
Type
simple bool
Remarks
timeframe.multiplieris the number of seconds per bar when this is true.- On Sidechair: true when a bar is shorter than 60 seconds.
Example
//@version=6
indicator("Seconds check")
plot(close, "Close", color.gray)
plot(timeframe.isseconds ? timeframe.multiplier : na, "Seconds per bar", color.orange)See also
Runs on Sidechair