TradingView
forexpirate
6 авг 2016 г., 22:10
Mondays
FX_IDC:EURUSD
60
EURO / U.S. DOLLAR
ICE
Описание
⋅
6 авг 2016 г., 22:10
Puts yellow bars on Monday morning. I use it for my options trading strats.
monday
dayofweek
TIME
timebars
Комментарии
forexpirate
⋅
6 авг 2016 г., 23:59
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
⋅
8 июня 2020 г., 07:12
@forexpirate
, thank you
Gorbie
⋅
6 авг 2016 г., 23:55
It's a same code of the Trading Time, not for the Monday.
forexpirate
⋅
6 авг 2016 г., 23:58
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")
Ещё
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")