Lipi Reference Lipi

Variables

interval.interval

The interval the chart is drawn on, as a string. Every name in this namespace is simple, so the answer is the same on the first bar and on the last.

Example


          indicator("Timeframe Example", overlay=true)
plot(interval.interval == "1D" ? 1 : 0, color=color.blue, title="Daily Timeframe Signal")
        

Type

simple string