goofoffgoose

World Markets Open/Close Background

goofoffgoose 업데이트됨   
Indicator fills background color on the chart for different markets around the world.
This can be helpful in some markets to understand after hours and premarket price action. User can study if there is correlation between highs/low in whole session or open/close of different markets.

Tokyo, Hong Kong and Shanghai are Asian Markets in Red are combined
Bombay, London and NYSE are individually plotted.


Times can be changed for each session to include the entire session, or selected block of 15 minutes.
Less than 15 minutes will need to be changed in the default value of the code which is why I'm publishing it open source.
All coded default times for each market are in CST.
Background color can be turned off individually under the Style tab, and can also be unchecked under Inputs and can just be used for source for further coding.

My intentions for this script is to use it and its variable value to plot the highs and lows just in the specific times in a session and to more easily visualize those sessions with color coding.
I hope this is useful

Cheers!
릴리즈 노트:
My intentions for this script is to use it and its variable value to plot the open, close, highs and lows in the specific times of a
session and to more easily visualize those sessions with color background.
indicator fills background on the chart for different markets around the world.
Times can be changed for each session to include the entire session or a specific time.
Sessions are default to be displayed on the 1 hour chart. All default times for each market are in CST.
Background color can be turned off or changed and this can just be used for source.

***Fixed the Time zone issue. The default timeframe of sessions should update to the users current time zone set on the platform.
Although times will still need to be adjusted for DST.

***Cleaned up the code and menu layout to be more User/Coder friendly.

***Added option to color background for a lookahead period in minutes. The default is false with lookahead set for 1 day (1380 mins)
with times set on the hourly chart. To use this on the hourly chart for a Globex session, change the look ahead mins to 1379.
This code is however intended for a chart in minute(s). Manually input open/close times to whatever you wish.
Selecting "Future Sessions" can take a moment to load on the 1 min and under chart.

****PLEASE NOTE*** "Future Sessions" is VERY picky on the 1 hour chart. Selected times HAVE TO BE at least 1 hour and sometimes even
ON THE HOUR. Change "Future Sessions" INPUT to 1379(mins) for an hourly chart otherwise it may not show the first selected session
It will take increments sometimes, and other times it just won't. Please don't ask me to fix this, believe me I have tried.

Any questions or input, feel free to message me.

Cheers!!
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?