Very simple script, which is also publicly available and found on the web by the way.
More visually appealing way of seeing what time it is. Works best around 15 minute charts. Doesn't work well on high timeframes.
More visually appealing way of seeing what time it is. Works best around 15 minute charts. Doesn't work well on high timeframes.
study(title="Day Of The Week", shorttitle="Day of the week", overlay=true) c = #fc1687 bgColor =(dayofweek == monday) ? color(c, 10): (dayofweek == tuesday) ? color(c, 30) : (dayofweek == wednesday) ? color(c, 50) : (dayofweek == thursday) ? color(c, 70) : (dayofweek == friday) ? color(c, 90) : color(black, 0) bgcolor(color=bgColor)