Plumptoiletduck

Custom Time ranges. Daily price ranges.

Addition to previous time range script, now containing daily ranges. You can select a day of the week, and have it show the high, low, mid, and open of that day.


For the time bands:


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.



For the Daily price ranges:

Just select the tick-box forthe day, and then the price levels you'd like to see.



I want to add specific weekly levels to this, for example: week 06 of year 2020, but I've not figured out how to do it yet. If anyone knows, I'd appreciate it if you let me know. I'll then update this script.

As always, any questions you may have, please leave in comments below and I'll respond when I have time.

If you notice anything good with this indicator, let me know. We are all in this to make money after all! ;)
Script open-source

Dans le plus pur esprit de TradingView, l'auteur de ce texte l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur ! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par les règles internes. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?