TradingView
JackelMa
2022년 3월 28일 오후 6시 41분

Highlighted your own time range 

US 100 IndexFXCM

설명

This is just a tool to highlight the specific time range. Thanks.

코멘트
vivomymail
How to use this
I need it to mark 9.15 to 10 everyday
Can anyone help
israelbillions
@vivomymail, You should set the time on this line of code:

usSession = input(title="Highlighted Range", defval="0030-0400")

change defvalue = 0915-10 depending on your time zone
GarethSA
GREAT SCRIPT.

It pulls time from TV right, but can you add in an offset that we can change in hours. So TV shows UTC time but i might be ahead 6 hrs so can you add in an option where we can change that
coffeekiloswine
Love this. Is there a way to make 4 ranges possible?
scottjbarr
I love this one.

But for some reason this doesn't work on futures. It works fine with SPX (the CFD), but not for ES1 (futures contract).
MrG1989
Great indicator, Would there be a way to have them show ahead of time instead of drawing as it goes? what line of code would need to be added?
mwolfe83
Great code! I appreciate you publishing. I took this and modified it to add two additional bgcolor variables. works perfectly on my charts!
더보기