hour
The hour of the bar being evaluated.
hour(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 hour")
plot(hour(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.