ZenAndTheArtOfTrading

Trading Session Indicator

This indicator is basically just a back-testing tool. All it does is highlight the background of your charts with the specified color within the specified timezone.

This is useful particularly for back-testing purposes, such as testing a day-trading strategy within a particular period of the day or ignoring signals that fall within the given timeframe (which is useful for ignoring setups during your testing that appear while you're asleep or at work etc.)

Take it easy :)
- Matt.
Feb 16
Notas de Lançamento: Minor improvements
May 29
Notas de Lançamento: Added alert functionality
May 29
Notas de Lançamento: Added "end of session" alert functionality
May 29
Notas de Lançamento: Fixed end of session alert
May 29
Notas de Lançamento: Updated alert functionality
Jul 28
Notas de Lançamento: Added ability to hide background color on a separate timeframe
Jul 30
Notas de Lançamento: Added an option to hide this indicator on the 4HR timeframe, Daily, Weekly and Monthly
Remover dos scripts favoritos Adicionar aos scripts favoritos
Follow @TradeWisdom on Twitter for Daily inspiration from the best trading wizards, psychologists and philosophers.

Go to http://www.zenandtheartoftrading.com for articles on forex trading, trading psychology, trading resources, Pine Script lessons and more!

Comentários

Hey nice indicator, Im using this for trading cfd, since cfd runs 24hrs and the actual market only opens in the day. Im setting the time to highlight the actual day opening hours but its not using my local time i set in tradingview, is there a quick fix for this?
+1 Resposta
@traderbyday, Oh man, I wish there was! I have the same problem on all my scripts. I'm not aware of a quick fix unfortunately. It might be worth sending the TradingView support team a ticket if it's really bothering you, they have fixed a number of things on the platform like that when I've sent them requests. Good luck with your trading brother :) Sorry I couldn't be of more help.
Resposta
Thanks for this its going to help my back-testing enormously!
+1 Resposta
@SAMIR_G11, You're welcome man, good luck with your testing!
Resposta
Script not working properly. It zooms out wayyy to much when I add the script.
Resposta
@NoahKhan, Not sure what you mean, it appears to be working fine on my end:

Can you please send me a screenshot example? It should not affect your chart zoom at all unless it's some kind of TradingView bug
Resposta
NoahKhan ZenAndTheArtOfTrading
@ZenAndTheArtOfTrading, I figured it out, under style I had to uncheck "Plot" if the box is checked when I add it it looks like this:
Resposta
Hi, thanks for the script!
Is it possible to make it invisible on timeframes higher than 1H for example
Resposta
@additive, Hey man! Sorry for the late reply. I wasn't able to find a way to make it invisible on multiple higher timeframes, but I did add an option to hide it on a specific timeframe. I hope that helps, I'll look into other ways when I get time.

For now, if you open the settings menu there is a new option to specify what timeframe to hide it on. For example, if you want to hide it on the 4H chart then type in "240", if you want to hide it on the Daily chart type in "D". It's disabled by default so you will need to activate it.

Good luck with your trading :) I'll let you know if I find a better way to do this.
Resposta
additive ZenAndTheArtOfTrading
@ZenAndTheArtOfTrading, Thanks very much for the update, it works very well!
If it could include a list of disabled times, would be even better tho :)
Right now I am using "240" only, but "240,D,W,M" would close to ideal for me.
Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e cobrança Indique um Amigo Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar