OPEN-SOURCE SCRIPT
Diupdate

Intraday Background Time Ranges

5 110
This simple script was written for studying recurring intraday behaviours of financial instruments. With it, you can highlight up to 13 customizable time ranges on your chart, filling the corresponding background space with colors you prefer. You can then write a note for each range and it will be shown in the optional related table.

The experience shows that every financial instrument has its own personality. With this in mind, the script can be useful to study intraday charts with the purpose of discovering recurring behaviours of specific instruments over a certain time range and under specific circumstances (normal days, earnings days, days with catalysts, etc.) This can help the trader to deeply understand the instrument personality, and therefore also to decide whether to enter or exit the market if its behaviour meets or not his expectations.

Please note that this script only works on minute/hourly charts.
Catatan Rilis
Minor fix: Now the table won't appear without any text.

Cleaned the code.
Catatan Rilis
Update:

1) Shortened the short title, which now is "Time Ranges".

2) Removed the seconds time frame limitation.

3) Cleaned, simplified and improved the overall appearance of the code.
Catatan Rilis
UPDATE:

Added 17 additional time ranges, bringing the total to 30.
Catatan Rilis
UPDATE:

This new version includes the option to choose whether to project the colors ahead of time, allowing you to see them even before the price reaches the specified time.
In order to achieve this purpose, I had to modify the input mode for the time ranges.
Catatan Rilis
MINOR UPDATE

- Fixed the code that displayed the table frame when the time range was selected even in the absence of text.

- Converted the code to v6.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.