OPEN-SOURCE SCRIPT
Atualizado Pre and Market Openings

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

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
Notas de Lançamento
Tidied script:Enabled offset for daily and weekly to fix issues of Daily Monday Open overlapping Weekly Open.
Added Title text to all shapes.
Notas de Lançamento
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
Notas de Lançamento
Updated to Version 5.Correction made to Asia Weekly Open.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.