Custom Time ranges

This script colours the background of any time range you specify, including weekend periods.

It can be useful for spotting patterns on Bitcoin (recurring times of buying or selling).

Checkboxes to switch on and off. Inputs to specify time and day of week.

Monday = 2
Tuesday = 3
Wednesday = 4
Thursday = 5
Friday = 6
Saturday = 7
Sunday = 1

Example 1:


This will colour the background between 3pm and 6pm on Mondays.

Example 2:


This will colour the background between midnight and 6am on Mondays, Wednesdays, and Saturdays.

Any questions you may have, please leave in comments below and I'll respond when I have time.
즐겨찾기 스크립트에서 빼기 즐겨찾기 스크립트에 넣기
Hi awesome script i have been looking for this from a long time, have you got time to wor on to plot the time range high and low
@JohnSmith8f, Thanks.

I've actually had another crack at getting the highs/lows in the past week, I hit another dead end unfortunately.There must be a reason nobody else has managed it yet! I'll check out pinescript V4 and see if there is anything in there that might help.
Hi Duck! Maybe V2 it will be possible to apply the script to Daily charts and other timeframes? It would also be nice to be able to background specific recurrent events/periods in time! Thanks for your work!
Awesome script ! Does it able to plot the time range high and low?
@yinhosan, Thanks!

That's an interesting idea. I'll work on adding session high and low points when i have time.
yinhosan Plumptoiletduck
@Plumptoiletduck, great!
Keep me updated.
Very nice script, thanks for your efforts and generous =D
@ICEKI, You're welcome. :)
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 사용안내 차트 특징 프라이싱 하우스룰(내부규정) 모더레이터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 라이트웨이트 차팅 라이브러리 헬프 센터 프렌드 리퍼하기 기능 개발/개선 요청 블로그 & 뉴스 잦은물음 위키 트위터
프로화일 프로화일설정 계정 및 빌링 프렌드 리퍼하기 나의 서포트 티켓 헬프 센터 공개아이디어 팔로어 팔로잉 비밀메시지 채팅 로그아웃