Frien_dd-DisDev

Pre and Market Openings

Frien_dd-DisDev 已更新   
Pre and Market Openings is to enable you to quickly visualize the opening markets and how they could influence trading.


The below script has used the market time data from the below links:

Tokyo/Asia https://www.tradinghours.com/markets/jpx/hours

London https://www.tradinghours.com/markets/lse/hours

New York https://www.tradinghours.com/markets/nyse/hours


The below script aims to plot:

Daily Asia Open
Weekly Asia Open

Daily London Open
Weekly London Open

Daily New York Open
Weekly New York Open


Using background colour it also shows market sessions (pre-market) for London and New York and regular for London, New York and Asia.

There is also plotted text for days of the week and sessions.



As you can see from the picture below that these market openings can act as support and resistance:

BTC

ETH
版本注释:
Tidied script:

Enabled offset for daily and weekly to fix issues of Daily Monday Open overlapping Weekly Open.
Added Title text to all shapes.
版本注释:
Suggested improvement change from kmarryat (pinescripters.net)

//Code removed as this was allowing background colours on Daily, Weekly, Monthly
//loadIndicator = timeframe.multiplier <= inputMaxInterval

//Modified code below
loadIndicator = timeframe.isminutes and timeframe.multiplier <= inputMaxInterval
版本注释:
Updated to Version 5.

Correction made to Asia Weekly Open.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?