Sidechair

minute

Browse the reference

The minute of the hour of the current bar's open time, from 0 to 59.

Try it in the editor

minute is a series int. On a 5-minute chart it takes the values 0, 5, 10 and so on.

Type

series int

Remarks

  • minute[n] is na before the first bar.
  • On Sidechair: the parts are read in the symbol's exchange time zone, the same as syminfo.timezone.
  • minute is the minute the bar opened in. A 5-minute bar that opens at 9:30 reads 30 for its whole length.

Example

Pine ScriptQuarter-hour marksOpen in editor
//@version=6
indicator("Quarter hours", overlay = true)
plotshape(minute % 15 == 0, "Quarter", shape.circle, location.belowbar, color.teal, size = size.tiny)

See also

Runs on Sidechair