OPEN-SOURCE SCRIPT

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! ;)
Daily ChartsDAYhighLOWMIDopenTIMETrend AnalysisVolatilityWeekly Charts

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer