PROTECTED SOURCE SCRIPT
Updated Session Range Highs and Lows Liquidity Tracker

HOW TO USE THIS INDICATOR: Scroll down and choose "Add to Favorite Indicators", restart TradingView, then search for it. You should see it show up in the search.
This indicator is useful for visually tracking the highs and lows of up to 6 customizable sessions. The strategy is based on a strategy I found on Nexus Blast Trading youtube channel. By default, it has 4 sessions: 00:00-08:00, 8:00-13:00, 13:00-19:00, 19:00-00:00, which constitute the London, NY AM, NY PM, and Asia/overnight sessions. The strategy is that when the high or a low of any session is taken or raided by price, typically price wants to reverse, so we wait for a 5 minute shift in structure with an FVG to enter in the opposite direction. Each session is marked on the chart by a top line and bottom line, indicating the high and low of the session. Whenever the current price crosses below or above one of these levels, the color of the line changes to show that the level has been raided.
Features / Options
- You can plot up to 6 customizable sessions on the chart, 4 of which are set by default.
NOTE: Do not set any session to be within the time range of another session, the indicator will not work correctly if you do. Do not overlap sessions.
- You can select a custom timezone for these sessions.
- "Session Limit" will limit the amount of sessions shown on the chart. 125 maximum allowed.
- "Show Sessions" allows the user to hide all sessions on the chart for those who wish to use other features of this indicator without showing the sessions.
- "Show Raided Levels" allows the user to hide all levels which have been raided by price. Also custom style for the raided lines.
- "Show Labels" lets the user hide/show session labels, which is plotted above the top line of the session, along with custom styling.
- "Show Separator Lines" lets the user hide/show the vertical separator lines between sessions. Some like them, some don't. Also style the lines to your liking.
- "Custom Midnight Line Style" lets the user attach a custom style to the vertical midnight separator line so you can easily see the daily divisions on the chart.
Levels
- "Labels Offset" lets the user push level labels more to the right
Each level line and label may be styled to the user's liking.
Currently available levels:
PDH/PDL - previous day high and previous day low
PWH/PWL - previous week high and previous week low
PMH/PML - previous month high and low
Midnight ppening price
830 opening price
930 opening price
FVGs
- "Show FVGs" - hide/show FVGs on the chart
- "Show FVG Mitigation" hide/show how much the fvg has been mitigated by price by a different color
- "Delete Mitigated FVGs" remove all fvgs which have been mitigated
- "Extend unmitigated FVGs to the current bar" this option will make FVGs a little more easy to see and extend them to the current bar
- "Mitigated Condition" is either "Close" (candle close over the FVG) or "Wick" (price wicking through an fvg will consider it mitigated)
- "FVG Length" is the width of the FVGs
- "Bars back to look for FVGs" This script will allow the user to look back a total of 1000 bars to look for FVGs. Default 300.
- "FVG EQ Line" will plot a line at 50% of the FVG.
- Custom styling of bullish, bearish, and mitigated fvgs also.
NWOG
- "Show NWOGs" Script will plot New Week Opening Gaps on the chart beginning from the most recent.
- The number and custom styling of the NWOG also available.
ALERTS
Alerts are now controlled from within the indicator options! Someone had recently told me that those with free TradingView can only add one alert, so now you will be able to enjoy all the alerts this indicator has to offer using one one alert in TradingView.
HOW TO ENABLE ALERTS FOR THIS INDICATOR:
Please follow these instructions carefully:
1. Find the Alerts panel on the right side of TradingView window and click the + sign, "Create Alert"
2. Under "Condition" select this indicator "Sessions Liquidity Tracker"
3. You should see "Any alert() function call" come up in the second box.
4. Set the expiration date as far in the future as you can. Also remember that this needs to be updated after that time passes. (Only those with TradingView premium are allowed to use open-ended alerts)
5. Give the alert a name if you wish, then click "Create"
You're all set!
NOTE: If you desire to change the settings of the Alerts in the options, you will need to delete alert as described above, and add it again. When TradingView adds alerts, it will take a snapshot of the current settings, so if you wish to change them, you must re-add the alert.
New section "Alerts" has been created in the options with the following alerts:
1. "Price crosses over a session level" - This alert will fire when price crosses over a session high or under a session low. The user may choose "Any" which will alert for any past session, or "Only Previous" which will only alert for the previous session.
2. "FVG created after the raid of a session level" - This alert will fire when a bullish fvg is created after the raid of a session low or a bearish fvg is created after the raid of a session high.
NOTE: An FVG being created should not be taken as a buy/sell signal, but rather an early indication that price could be reversing directions.
New Alerts have also been added to the "Levels" section of the indicator options for PDH/PDL, PWH/PWL, PMH/PML. You will be alerted when price crosses these levels if you have it checked. The indicator will still alert you if any of these levels are crossed even if you don't have the level visible on the chart.
This indicator is useful for visually tracking the highs and lows of up to 6 customizable sessions. The strategy is based on a strategy I found on Nexus Blast Trading youtube channel. By default, it has 4 sessions: 00:00-08:00, 8:00-13:00, 13:00-19:00, 19:00-00:00, which constitute the London, NY AM, NY PM, and Asia/overnight sessions. The strategy is that when the high or a low of any session is taken or raided by price, typically price wants to reverse, so we wait for a 5 minute shift in structure with an FVG to enter in the opposite direction. Each session is marked on the chart by a top line and bottom line, indicating the high and low of the session. Whenever the current price crosses below or above one of these levels, the color of the line changes to show that the level has been raided.
Features / Options
- You can plot up to 6 customizable sessions on the chart, 4 of which are set by default.
NOTE: Do not set any session to be within the time range of another session, the indicator will not work correctly if you do. Do not overlap sessions.
- You can select a custom timezone for these sessions.
- "Session Limit" will limit the amount of sessions shown on the chart. 125 maximum allowed.
- "Show Sessions" allows the user to hide all sessions on the chart for those who wish to use other features of this indicator without showing the sessions.
- "Show Raided Levels" allows the user to hide all levels which have been raided by price. Also custom style for the raided lines.
- "Show Labels" lets the user hide/show session labels, which is plotted above the top line of the session, along with custom styling.
- "Show Separator Lines" lets the user hide/show the vertical separator lines between sessions. Some like them, some don't. Also style the lines to your liking.
- "Custom Midnight Line Style" lets the user attach a custom style to the vertical midnight separator line so you can easily see the daily divisions on the chart.
Levels
- "Labels Offset" lets the user push level labels more to the right
Each level line and label may be styled to the user's liking.
Currently available levels:
PDH/PDL - previous day high and previous day low
PWH/PWL - previous week high and previous week low
PMH/PML - previous month high and low
Midnight ppening price
830 opening price
930 opening price
FVGs
- "Show FVGs" - hide/show FVGs on the chart
- "Show FVG Mitigation" hide/show how much the fvg has been mitigated by price by a different color
- "Delete Mitigated FVGs" remove all fvgs which have been mitigated
- "Extend unmitigated FVGs to the current bar" this option will make FVGs a little more easy to see and extend them to the current bar
- "Mitigated Condition" is either "Close" (candle close over the FVG) or "Wick" (price wicking through an fvg will consider it mitigated)
- "FVG Length" is the width of the FVGs
- "Bars back to look for FVGs" This script will allow the user to look back a total of 1000 bars to look for FVGs. Default 300.
- "FVG EQ Line" will plot a line at 50% of the FVG.
- Custom styling of bullish, bearish, and mitigated fvgs also.
NWOG
- "Show NWOGs" Script will plot New Week Opening Gaps on the chart beginning from the most recent.
- The number and custom styling of the NWOG also available.
ALERTS
Alerts are now controlled from within the indicator options! Someone had recently told me that those with free TradingView can only add one alert, so now you will be able to enjoy all the alerts this indicator has to offer using one one alert in TradingView.
HOW TO ENABLE ALERTS FOR THIS INDICATOR:
Please follow these instructions carefully:
1. Find the Alerts panel on the right side of TradingView window and click the + sign, "Create Alert"
2. Under "Condition" select this indicator "Sessions Liquidity Tracker"
3. You should see "Any alert() function call" come up in the second box.
4. Set the expiration date as far in the future as you can. Also remember that this needs to be updated after that time passes. (Only those with TradingView premium are allowed to use open-ended alerts)
5. Give the alert a name if you wish, then click "Create"
You're all set!
NOTE: If you desire to change the settings of the Alerts in the options, you will need to delete alert as described above, and add it again. When TradingView adds alerts, it will take a snapshot of the current settings, so if you wish to change them, you must re-add the alert.
New section "Alerts" has been created in the options with the following alerts:
1. "Price crosses over a session level" - This alert will fire when price crosses over a session high or under a session low. The user may choose "Any" which will alert for any past session, or "Only Previous" which will only alert for the previous session.
2. "FVG created after the raid of a session level" - This alert will fire when a bullish fvg is created after the raid of a session low or a bearish fvg is created after the raid of a session high.
NOTE: An FVG being created should not be taken as a buy/sell signal, but rather an early indication that price could be reversing directions.
New Alerts have also been added to the "Levels" section of the indicator options for PDH/PDL, PWH/PWL, PMH/PML. You will be alerted when price crosses these levels if you have it checked. The indicator will still alert you if any of these levels are crossed even if you don't have the level visible on the chart.
Release Notes
- Bug Fixes- Code Optimization
Release Notes
Added line style options for both horizontal session lines and vertical separator lines Release Notes
- Added functionality to extend all previous highs & lows that are not taken yet- Added text boxes next to the session times in the options so people can name the sessions. I did not add the ability to label sessions on the chart yet, still unsure if I wanna do it or not.
Release Notes
Added option to hide the current session high and lowRelease Notes
- Added option to hide vertical line separators - Added checkboxes next to each session to hide/show each session individually
NOTE: The vertical lines were originally coded for Nexus Blast strategy, so it expects each session to be directly after the previous. If custom sessions are entered which are not directly after the previous, only one vertical line will show to the left of each session. I added an option to hide all vertical lines in this case for increased flexibility.
Release Notes
- Added max lines limit to 300 to display more data- Bug fixes
Release Notes
More bug fixesRelease Notes
-Aaaand more bugsRelease Notes
- Added option to limit the data processed by the indicator by one day, one week, one month, or maximumRelease Notes
Changed "one day" to "3 days" because one day doesn't return enough dataRelease Notes
- Added timezones instead of defaulting to EST- The Max option of the Show History dropdown will show the maximum 500 lines that tradingview allows
Release Notes
- Added labels for sessions. Formatting is pretty basic, just text size and color. Label is positioned above the top line in the center. I haven't test it much, let me know if anything is wrong. - Added a couple more sessions to play with. NOTE: Do not put a session within the time range of another session. The script will not work correctly if you do.
Release Notes
Bug fixesRelease Notes
- Fixed vertical lines bug where right line wouldn't show up if sessions didn't connect to each otherRelease Notes
Bug fix on vertical linesRelease Notes
- Fixed issue with labels not showing up on forex pairsRelease Notes
Fixed issue where alerts were firing for levels not currently shown on chartRelease Notes
More bugfixesRelease Notes
- Modified the alerts of this indicator, it now has 4 ALERTS instead of 2Any Session High Taken - any previous high is taken by the current price
Any Session Low Taken - any previous low is taken by the current price
Previous Session High Taken - fires only when the previous session high is taken by the current price
Previous Session Low Taken - fires only when the previous session low is taken by the current price
Nexus's Strategy is based on price raiding the immediate previous session high/low, not necessarily any high/low from the past, so I figured I would make this an option.
Release Notes
BIG UPDATEREMINDER: If you wish to backtest with this indicator, please set the "Show History" to "Max", it will not show any data otherwise. Still working on a fix for this.
OPTIONS
- "Hide Raided Lines" option added to hide raided lines as requested by some to clear clutter from the chart.
FVGs
- FVGs now available as part of this indicator
- "Show FVG Mitigation" option will change the color of the mitigated portion of the FVG set by "Mitigated FVG Color" option
- "Delete Mitigated FVGs" will delete all FVGs from the chart which have been mitigated
- "Mitigated Condition" has two options, "Close" or "Wick" Close will only consider the FVG mitigated if a candle closes through it, "Wick" will consider the FVG mitigated if a wick crosses through it. Close is the default option.
- "FVG Length" controls how wide each FVG is
- "FVG EQ Line" option will display a horizontal line at the midpoint of each FVG with options to style the line as desired
- "Bullish FVG Color" and "Bearish FVG Color" control the background color of bullish and bearish FVGs
- "Mitigated FVG Color" is the background color of partially mitigated FVGs
NWOGs
- "Show NWOGS" option will plot New Week Opening Gaps on the chart
- "Amount" controls how many NWOGs to plot starting from the most recent
- "Border" controls the NWOG border. Set this to 0px for no border.
- "NWOG EQ Line" will plot a line at the midpoint of the NWOG as price is typically sensitive to this point. Also, options to style it as you see fit.
If you find any bugs, please leave a comment so I can address it. Thank you!
Release Notes
NWOG bug fixesRelease Notes
Various FVG bug fixesRelease Notes
Minor fix on NWOGs not plotting correctly Release Notes
New Features/Changes- This indicator will not show sessions on any timeframe above the hourly timeframe. It will, however, still show gaps, fvgs, and levels.
- Added "Show Sessions" option to hide all sessions on the chart for those who wish to use other features of this indicator without showing the sessions.
- Removed "Show History" due to backtesting errors.
- Replaced "Show History" with "Session Limit" option for users to enter a customizable amount of sessions they wish to plot on the chart. Maximum 125 due to TradingView restrictions.
- Added two more alerts
"Bearish FVG Created After Raid of Session High"
"Bullish FVG Created After Raid of Session Low"
The title of the alerts is self explanatory. One note, these alerts will only fire when the candle which creates the FVG closes, thus ensuring the FVG is valid and avoiding false alerts. I am open to feedback if this is the desired functionality. Many times during pumps/dumps, price will appear to be forming FVGs, only to close the gap before the candle closes.
- Added Levels to plot on the chart
PDH/PDL - previous day high and previous day low
PWH/PWL - previous week high and previous week low
MO - Midnight Opening Price
All of these can be custom styled to the user's liking. The "Labels Offset" option can be increased to move level labels farther to the right to keep a less cluttered chart.
- Added a "Show Raided Levels" option for those who wish to hide the lines on the chart which have been raided
FVGs
- Added option "Extend unmitigated FVGs to the current bar" which will make it easier to see which FVGs are still available, and will track with price
- Added option "Bars back to look for FVGs" which will stop printing FVGs after a certain amount of bars in the past. This is to increase performance and make the chart less messy. Max value 1000.
As usual, please report any bugs here in the comments and I will deal with them as soon as I can. Thanks and happy trading!
Release Notes
- raided line stylingRelease Notes
Added Levels- 930 AM Opening Price
- 830 AM Opening Price
Fixed
- Hardcoded all relevant levels to EST (midnight, 930, 830)
Release Notes
- Fixed bug with custom midnight open text- Added Previous Month High and Low levels
Release Notes
More fixesRelease Notes
ALERTS OVERHAUL Alerts are now controlled from within the indicator options! Someone had recently told me that those with free TradingView can only add one alert, so now you will be able to enjoy all the alerts this indicator has to offer using one one alert in TradingView.
HOW TO ENABLE ALERTS FOR THIS INDICATOR:
Please follow these instructions carefully:
1. Find the Alerts panel on the right side of TradingView window and click the + sign, "Create Alert"
2. Under "Condition" select this indicator "Sessions Liquidity Tracker"
3. You should see "Any alert() function call" come up in the second box.
4. Set the expiration date as far in the future as you can. Also remember that this needs to be updated after that time passes. (Only those with TradingView premium are allowed to use open-ended alerts)
5. Give the alert a name if you wish, then click "Create"
You're all set!
NOTE: If you desire to change the settings of the Alerts in the options, you will need to delete alert as described above, and add it again. When TradingView adds alerts, it will take a snapshot of the current settings, so if you wish to change them, you must re-add the alert.
New section "Alerts" has been created in the options with the following alerts:
1. "Price crosses over a session level" - This alert will fire when price crosses over a session high or under a session low. The user may choose "Any" which will alert for any past session, or "Only Previous" which will only alert for the previous session.
2. "FVG created after the raid of a session level" - This alert will fire when a bullish fvg is created after the raid of a session low or a bearish fvg is created after the raid of a session high.
NOTE: An FVG being created should not be taken as a buy/sell signal, but rather an early indication that price could be reversing directions.
New Alerts have also been added to the "Levels" section of the indicator options for PDH/PDL, PWH/PWL, PMH/PML. You will be alerted when price crosses these levels if you have it checked. The indicator will still alert you if any of these levels are crossed even if you don't have the level visible on the chart.
Release Notes
Couple Minor Additions- Weekly Dividers available in the options with an option to plot the beginning of the week at the midnight open on Monday.
- "Hide Level Labels" option available in the Levels section. This option will hide all the labels of the various levels and just leave the line. Some have requested this functionality to keeping the chart clean
Release Notes
New Features- Added "Timeframe Visibility" option to hide the sessions from painting on certain timeframes
- Added NDOGs (New Day Opening Gaps)
Various bug fixes.
Release Notes
- Bug fix with 830 and 930 opening not plotting properly due to daylight savingsRelease Notes
Fixes- Fixed bugs where indicator wouldn't show up on <1m timeframes
Additions
- "Extend raided levels" option added to extend session lines to the candle which caused the raid
- "Track MSS" section added to track level needed to be broken for a successful shift in market structure after a session raid.
- New alert for a successful shift in market structure after a session raid
Release Notes
- ndog bordercolor bug fox Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.