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.
Sürüm Notları: Minor improvements
Sürüm Notları: Added alert functionality
Sürüm Notları: Added "end of session" alert functionality
Sürüm Notları: Fixed end of session alert
Sürüm Notları: Updated alert functionality
Sürüm Notları: Added ability to hide background color on a separate timeframe
Sürüm Notları: Added an option to hide this indicator on the 4HR timeframe, Daily, Weekly and Monthly
Favori Komutlardan Çıkart Favori Komutlara Ekle
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!
Thanks for this its going to help my back-testing enormously!
+1 Cevap Gönder
@SAMIR_G11, You're welcome man, good luck with your testing!
Cevap Gönder
Hi, thanks for the script!
Is it possible to make it invisible on timeframes higher than 1H for example
Cevap Gönder
@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.
Cevap Gönder
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.
Cevap Gönder
@additive, Great idea. Done :) enjoy! Let me know if you have any other suggestions
Cevap Gönder
additive ZenAndTheArtOfTrading
@ZenAndTheArtOfTrading, Awesome, tested and it works, thanks again!
Cevap Gönder
hey great script, how do i get an alert when the session starts and end? then you can call this script sessions alerts
Cevap Gönder
@russtic, Thanks for the suggestion :) I added alert functionality. Let me know if you experience any issues
Cevap Gönder
Ana Sayfa Hisse Senedi Takipçisi Forex Takipçisi Kripto Takipçisi Ekonomik Takvim Nasıl Çalışır Grafik Özellikleri Ücretlendirme Kurallarımız Moderatörler Web Sitesi & Aracı Kurum Çözümleri Görsel Bileşenler(Widget) Grafik Çözümleri Destek Merkezi Yeni Özellik Talebi Blog ve Haberler SSS Viki Twitter
Profil Profil Ayarları Hesap ve Ödemeler TradingView Koinleri Destek Kayıtlarım Destek Merkezi Yayınlanmış Fikirler Takip Edenler Takip Ediliyor Özel Mesajlar Sohbet Çıkış