OPEN-SOURCE SCRIPT

The Opening Range / First Bar By Market Mindset - Zero To Endles

Updated
The script shows the opening range of the instrument based on different resolutions and timeframes.

Inputs :
1. Resolution
It decides the calculation frequency of the script.
In Auto resolution, Standard values have been used.

2. Timeframe
It decides the timeframe for the OHLC values.
By default, it will use the chart timeframe and so chart OHLC values.

3. Lookback
It decides the no. of ranges shown on the chart.

Middle Line can be hidden from the settings.

The script can be used for any instrument and on any timeframe.
If price is above the opening range or the middle line, a trader should look for long opportunities.
If price is below the opening range or the middle line, a trader should look for short opportunities.
A sideways or choppy move is exoected if Middle line is crossed again and again.

For trading, wait for atleast 1st bar to close. and let the opening range build up first.

Happy Trading
Release Notes
ChangeLog :

Introduced session based settings for Intraday and Swing Timeframes.
Different sessions can be selected for timeframe below and above 15m.
It will work only if Extended Trading Hours is selected in the TradingView Settings.
Release Notes
I tried to add some new features in the script. But that couldn't work properly.
So making the previous version live again for now.
I'll fix the bugs and update shortly.
Stay connected
Release Notes
ChangeLog :
- Bug Fixes
- Introduced session based settings for Intraday and Swing Timeframes.
- Different sessions can be selected for timeframe below and above 15m.
- It will work only if Extended Trading Hours is selected in the TradingView Settings.
Release Notes
ChangeLog :
- Bug Fixes
- Standard Range is available to use with all Chart types.
Release Notes
ChangeLogs :
1. Bug Fixes
- Fixed Improper positioning
- Fixed Improper values
2. Added functionality for the trailing endpoints
3. Added Labels
4. Added functionality to hide old labels (to make chart clear)
5. Improved UI/UX
Release Notes
Changelog :
- Added option to ignore wicks
(if it is checked, The First Candle's Body would be used, instead of High and Low.)
Release Notes
Changelog :
- Simplified The UI
- Improved Range Display
Release Notes
Simplified Settings
Bands and ChannelsbreakdownbreakoutbreakouttradingmtfanalysismultitimeframeopenopeningopeningrangeorbTrend Analysis

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