OPEN-SOURCE SCRIPT
Mis à jour The Opening Range / First Bar By Market Mindset - Zero To Endles

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
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
Notes de version
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.
Notes de version
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
Notes de version
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.
Notes de version
ChangeLog : - Bug Fixes
- Standard Range is available to use with all Chart types.
Notes de version
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
Notes de version
Changelog : - Added option to ignore wicks
(if it is checked, The First Candle's Body would be used, instead of High and Low.)
Notes de version
Changelog :- Simplified The UI
- Improved Range Display
Notes de version
Simplified SettingsNotes de version
Cleaner UIText Inside The Box
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Pour un accès rapide sur un graphique, ajoutez ce script à vos favoris - en savoir plus ici.
Market Mindset
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Pour un accès rapide sur un graphique, ajoutez ce script à vos favoris - en savoir plus ici.
Market Mindset
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.