Lipi Reference Lipi

Variables

interval.isweekly

Returns true if current resolution is a weekly resolution, false otherwise.

Example


          indicator("Weekly Interval Example", overlay=false)
weeklyVolumeAvg = interval.isweekly ? talib.sma(volume, 4) : na
plot(weeklyVolumeAvg, color=color.orange, title="Weekly Avg Volume")
        

Type

simple bool