Shared also on Twitter @ https://twitter.com/confirmsignal/statu ... 82884?s=20, inspired by the OP of that thread who made a similar indicator for Trading View.
This indicator plots horizontal lines according to the opening range of the security's high and low value, as well as the high and low for the overnight session.
The duration of the opening range is user configured in minutes.
The overnight session is considered to be the session end to the regular session begin time, which are user configurable.
You must set max bars back manually to approximately the number of bars in one day for your resolution. It will not be automatically detected and you will get an error if you do not do this.
For the overnight low high to work correctly, you must set your instrument session to include that data.
Your resolution must be compatible with your opening range configuration. For example, if your opening range is 30 minutes and your resolution is 1 hour, this is not calculable.
I suggest combining this with the built-in prior day high/low indicator, as shown.
Opening Range w/ Overnight Session High/Low
- dataheck
- Posts: 30
- Joined: 19 Nov 2019
- Location: Amherst, Nova Scotia
- Been thanked: 5 times
- Contact:
Opening Range w/ Overnight Session High/Low
- Attachments
-
- OpeningRangeWithOvernightHighLow.pln
- (12.19 KiB) Downloaded 225 times