Plumptoiletduck

Custom Time ranges



Description:
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:

1500-1800:2

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


Example 2:


0000-0600:247

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.
Remover dos Scripts Favoritos Adicionar para Scripts Favoritos
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
Resposta
@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.
Resposta
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!
Resposta
Awesome script ! Does it able to plot the time range high and low?
Resposta
@yinhosan, Thanks!

That's an interesting idea. I'll work on adding session high and low points when i have time.
Resposta
yinhosan Plumptoiletduck
@Plumptoiletduck, great!
Keep me updated.
Resposta
Very nice script, thanks for your efforts and generous =D
Resposta
@ICEKI, You're welcome. :)
Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Sinais Criptomoedas Calendário econômico Como Funciona Recursos gráficos Planos Regras da Casa Moderadores Soluções para sites e corretoras Widgets Soluções em Gráficos Obter Ajuda Solicitação de recurso Blog & Notícias FAQ Wiki Twitter
Perfil Configurações de perfil Conta e cobrança Obter Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar