TradingView
forexpirate
Aug 6, 2016 10:10 PM
Mondays
FX_IDC:EURUSD
60
EURO / U.S. DOLLAR
ICE
Description
⋅
Aug 6, 2016 10:10 PM
Puts yellow bars on Monday morning. I use it for my options trading strats.
monday
dayofweek
TIME
timebars
Comments
forexpirate
⋅
Aug 6, 2016 11:59 PM
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
⋅
Jun 8, 2020 7:12 AM
@forexpirate
, thank you
Gorbie
⋅
Aug 6, 2016 11:55 PM
It's a same code of the Trading Time, not for the Monday.
forexpirate
⋅
Aug 6, 2016 11:58 PM
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")
More
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")