Lipi Reference
Lipi

Variables

hour

The hour of the bar being evaluated.

Example


          //@lipi=2
indicator("hour Example", overlay=true)
// Highlight the first trading hour
bgcolor(hour == 9 ? color.new(color.blue, 0.15) : na)
        

Type

series int