Lipi Reference Lipi

Variables

interval.iseod

True when the interval is an end-of-day interval. This is published as a flag of its own, separate from `interval.isdaily`. Confirm on the chart which of the two answers your case before you branch on either.

Example


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

Type

simple bool