TradingView
forexpirate
6 авг 2016 г., 22:10

Mondays 

EURO / U.S. DOLLARICE

Описание

Puts yellow bars on Monday morning. I use it for my options trading strats.
Комментарии
forexpirate
Correct Script
study(title="Week",shorttitle="Monday", overlay=true)
nt = input('0930-1030', type=session, title="Not Trading")
nttime = nt
bgPlot2 = (time(period, nttime))
bgcolor(bgPlot2 and (dayofweek(time('D')) == monday)? yellow : na,transp=30,title="Time")

sandip_tia8505
@forexpirate, thank you
Gorbie
It's a same code of the Trading Time, not for the Monday.
forexpirate
Gorbie, you are right! Thank you.

study(title="Week",shorttitle="Monday", overlay=true)
nt = input('0930-1030', type=session, title="Not Trading")
nttime = nt
bgPlot2 = (time(period, nttime))
bgcolor(bgPlot2 and (dayofweek(time('D')) == monday)? yellow : na,transp=30,title="Time")

Ещё