second
The second of the bar being evaluated.
Seven date parts are published as variables. weekofyear is not among them: it exists as a function only.
second(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("Seconds of the bar")
plot(second(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.