month
The month of the bar being evaluated. As with the other date parts, there is a function of the same name that takes a time and a timezone instead.
month(series int time, series string timezone) → series int| Parameter | Type | Required |
|---|---|---|
time | series int | yes |
timezone | series string | yes |
Returns series int — A series int.
indicator("Bar month")
plot(month(time, syminfo.timezone))See also sessions and intervals
Part of the function index.
Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.