Variables
dayofweek
Day of week for current bar time in exchange timezone.
Example
indicator("Day of Week Example", overlay=true)
// Get the current day of the week
current_day = dayofweek
// Plot the numeric value of the day of the week
plot(current_day, title="Day of Week", color=color.blue)
Type
series int