Variables
interval.ismonthly
True when the interval is monthly. Together with `interval.isweekly` and `interval.isdaily` it covers the intervals a script cannot treat as intraday.
Example
indicator("Monthly Interval Example", overlay=true)
monthlyclose = interval.ismonthly ? close : na
plot(monthlyclose, color=color.purple, title="Monthly High")
Type
simple bool