OPEN-SOURCE SCRIPT
Smart Support & Resistance + Session POC

Smart Support & Resistance + Session POC
Overview
Smart Support & Resistance + Session POC is a confirmation-based support and resistance indicator designed to identify meaningful price areas instead of plotting a level after every pivot or wick.
The indicator searches for repeated, separate price rejections on a user-selected detection timeframe. A level remains hidden after its first rejection and only becomes a visible zone after it receives the required number of valid rejections.
Each rejection can be filtered by:
Pivot structure
Approach direction
Minimum wick rejection
Minimum displacement away from the level
Time between separate visits
Distance from existing zones
The indicator can also compare confirmed zones with the Point of Control from previous completed volume-profile sessions. Zones with POC confluence are displayed more prominently, allowing traders to quickly identify areas where repeated price rejection and concentrated traded volume overlap.
This indicator is intended for intraday support and resistance analysis on futures, stocks, forex, and other symbols that provide the required volume and footprint data.
Main Features
Multi-Timeframe Zone Detection
Zones can be calculated from a timeframe independent of the chart timeframe.
For example, you can:
Calculate zones from the 1-hour timeframe.
View those same zones on a 15-minute chart.
Drop to the 5-minute or 1-minute chart for execution.
This keeps the important higher-timeframe structure visible while using a lower timeframe for trade entries.
The selected detection timeframe must be equal to or higher than the chart timeframe.
Confirmation-Based Zone Detection
The indicator does not display every pivot high or pivot low.
A level begins as a hidden candidate after its first valid rejection. It only becomes a visible support or resistance zone after receiving the selected minimum number of separate rejections.
The default requirement is:
Regular zone: 2 valid rejections
Strong zone: 3 or more valid rejections
The thresholds are fully adjustable.
Because pivot confirmation requires bars to form on the right side of the pivot, zones appear after confirmation rather than attempting to predict a turning point in advance.
What Counts as a Valid Rejection?
A rejection must pass the enabled quality filters before it can be counted.
Resistance Rejection
A potential resistance rejection is created when:
A confirmed pivot high forms.
Price approached the area from underneath, when the approach filter is enabled.
The pivot candle closes sufficiently below its high.
Price produces the required downward displacement after the rejection.
The rejection is sufficiently separated from the previous visit.
Support Rejection
A potential support rejection is created when:
A confirmed pivot low forms.
Price approached the area from above, when the approach filter is enabled.
The pivot candle closes sufficiently above its low.
Price produces the required upward displacement after the rejection.
The rejection is sufficiently separated from the previous visit.
These filters help prevent ordinary consolidation, repeated candles inside the same range, and weak pivots from being counted as meaningful support or resistance.
Separate-Visit Logic
Several candles reacting around the same level do not automatically count as several independent rejections.
A new rejection must be separated from the previous rejection by the selected number of detection-timeframe bars.
For example, with:
Detection timeframe: 60 minutes
Minimum bars between rejections: 3
The next rejection must occur at least three 1-hour bars after the previous rejection before it can increase the zone’s rejection count.
This prevents a cluster of candles from incorrectly creating an immediate strong zone.
Adjustable Tick-Based Zones
Zone thickness is defined in ticks using the symbol’s minimum tick size.
This allows the same indicator to adjust correctly across different instruments.
For MNQ:
1 tick = 0.25 points
4 ticks = 1 point
20 ticks = 5 points
40 ticks = 10 points
Support zones are constructed upward from the confirmed rejection low.
Resistance zones are constructed downward from the confirmed rejection high.
When a new valid rejection is merged into an existing zone, the zone may adjust to include the newer rejection extreme while maintaining the selected zone thickness.
Zone Merging
Nearby rejections of the same type can be grouped into one zone instead of creating several overlapping boxes.
The Zone merge tolerance setting controls how close two areas can be before they are treated as the same support or resistance zone.
A larger merge tolerance produces fewer, broader structural areas.
A smaller merge tolerance keeps nearby levels separate and creates more zones.
Zone Strength and Appearance
The indicator uses opacity to display zone quality without adding labels, centerlines, or unnecessary chart clutter.
Default appearance:
Regular zone: 50% opacity
Strong zone: 75% opacity
POC-confluence zone: 100% opacity
Support zones are green by default.
Resistance zones are red by default.
All colors, opacity levels, and border widths are customizable.
Visual Priority
POC confluence has the highest appearance priority.
Therefore:
A two-rejection zone without POC confluence appears as a regular zone.
A zone reaching the strong-rejection threshold appears as a strong zone.
Any confirmed zone overlapping a selected POC appears at the POC opacity level.
The chart remains clean because no labels or centerlines are required to identify zone quality.
Completed Session POC Confluence
The indicator can analyze Point of Control levels from previously completed volume profiles.
The Point of Control represents the highest-volume price row within the selected completed profile.
A confirmed zone receives POC confluence when its price range overlaps a POC row within the selected profile lookback.
POC confluence can be calculated from:
Exchange-defined regular sessions
Extended or full sessions
The profile timeframe is also adjustable.
For intraday trading, a common configuration is:
Profile timeframe: 1D
Profile session: Exchange regular
POC lookback: 5 completed profiles
This compares active support and resistance zones with POCs from the previous five completed daily profiles.
Completed Profiles Only
The indicator uses completed profiles rather than a developing current-session POC.
A developing POC can move throughout the session as additional volume trades. Using completed profiles provides a stable reference that does not continue shifting during the current session.
POC Lookback
The POC lookback controls how many completed profiles remain available for confluence.
For example:
A lookback of 1 checks only the most recently completed profile.
A lookback of 5 checks the previous five completed profiles.
A lookback of 10 checks the previous ten completed profiles.
When an old profile leaves the selected lookback, the indicator recalculates confluence. A zone may therefore lose its POC appearance when the POC supporting it is no longer inside the active lookback.
POC functionality requires footprint data to be available for the TradingView account and selected symbol.
Zone Invalidation
A zone is considered invalid when price closes completely beyond its outside boundary plus the selected break buffer.
Support Invalidation
A support zone is deleted when the selected confirmation candle closes below:
Support zone bottom − break buffer
Resistance Invalidation
A resistance zone is deleted when the selected confirmation candle closes above:
Resistance zone top + break buffer
A wick through the zone does not automatically invalidate it. Price must close beyond the zone and its buffer.
Once broken:
The zone is permanently removed from the chart.
It is not faded.
It is not retained as a historical zone.
It does not automatically convert into a support/resistance flip.
A new zone can form near the same price only after new valid rejections occur.
Break Confirmation Timeframe
There are two break-confirmation choices.
Detection Timeframe
This is the recommended setting.
A zone calculated from the 1-hour timeframe is invalidated only by a confirmed 1-hour close beyond the zone and buffer.
This prevents a small lower-timeframe close from deleting a higher-timeframe zone prematurely.
Chart Timeframe
The zone is invalidated by a confirmed close on the current chart timeframe.
This is more responsive but also more sensitive.
For example, a 1-minute close could invalidate a zone calculated from the 1-hour timeframe.
Zone Freshness
The Zone freshness lookback determines how long a level can remain active without receiving another valid rejection.
Freshness is measured from the zone’s most recent valid rejection.
For example, with a 10-day freshness setting:
A zone whose most recent valid rejection occurred within the last 10 days remains active.
A zone that has not received a valid rejection for more than 10 days is deleted.
A new valid rejection refreshes the zone’s age.
The freshness setting is measured in calendar-day periods.
Zone Length
Two zone-extension modes are available.
Until Broken
The zone continuously extends to the right until:
Price invalidates it.
It becomes stale.
It is removed because of the maximum tracked-level limit.
This is the recommended setting for active support and resistance trading.
Fixed Detection Bars
The zone extends for a selected number of detection-timeframe bars after confirmation.
For example:
Detection timeframe: 60 minutes
Fixed length: 100 bars
The zone remains active for approximately 100 confirmed 1-hour bars unless it is invalidated or becomes stale first.
How to Use the Indicator
Step 1: Choose the Detection Timeframe
Select the timeframe from which support and resistance should be calculated.
Common examples:
Scalping on a 1-minute chart: use 15-minute, 30-minute, or 1-hour zones.
Trading on a 5-minute chart: use 30-minute or 1-hour zones.
Trading on a 15-minute chart: use 1-hour or 4-hour zones.
The detection timeframe cannot be lower than the chart timeframe.
A good starting point for MNQ intraday trading is:
Chart timeframe: 1–5 minutes
Detection timeframe: 60 minutes
Step 2: Set the Minimum Rejections
Start with:
Minimum rejections: 2
Strong-zone rejections: 3
With these settings:
The first rejection creates a hidden candidate.
The second valid rejection confirms and displays the zone.
The third valid rejection upgrades it to a strong zone.
Increasing the required rejections creates fewer but more selective zones.
Step 3: Set the Zone Thickness
Choose a zone thickness that matches the instrument’s normal movement.
Suggested MNQ starting value:
Zone thickness: 20 ticks, or 5 points
A smaller zone is more precise but may be invalidated or missed more easily.
A larger zone captures a broader area but may create less precise entries.
Zone thickness should generally be adjusted according to the instrument’s volatility and the selected detection timeframe.
Step 4: Configure the Rejection Filters
Recommended starting settings:
Require correct approach direction: On
Minimum rejection wick: 4 ticks
Require displacement: On
Displacement mode: Ticks
Minimum displacement: 20 ticks
Displacement window: 3 bars
These settings require price to produce a meaningful reaction after contacting the area.
For instruments or timeframes with changing volatility, ATR displacement can be used instead of a fixed tick amount.
Step 5: Configure the Volume Profile
Recommended intraday starting configuration:
Use completed-profile POC confluence: On
Profile timeframe: 1D
Profile session: Exchange regular
POC lookback: 5
Footprint row size: 4 ticks
POC overlap tolerance: 0–4 ticks
The profile timeframe must be higher than the chart timeframe.
Use Exchange regular when regular-session institutional volume is the main focus.
Use Extended/full when overnight and extended-session volume should be included.
Step 6: Read the Zones
Regular Zone
A regular zone has reached the minimum rejection requirement but has not reached the strong threshold and does not overlap a selected POC.
It is a valid area, but it has the lowest visual priority.
Strong Zone
A strong zone has received at least the selected number of valid rejections.
Repeated rejection suggests that the area has continued to influence price.
POC Zone
A POC zone is a confirmed support or resistance zone that overlaps a POC from the selected completed-profile lookback.
This combines:
Repeated price rejection
Structural support or resistance
High historical traded volume
POC confluence increases visual importance, but it does not guarantee that the zone will hold.
Suggested Trading Workflow
The indicator identifies reaction areas. It does not automatically provide buy or sell entries.
Long Setup
Establish a bullish directional bias.
Wait for price to return to a support zone.
Give greater attention to strong or POC-confluence support.
Look for lower-timeframe confirmation, such as:
A liquidity sweep and close back above the zone
A bullish rejection candle
A higher low
A bullish market-structure shift
Positive volume or delta confirmation
Consider invalidation below the zone and an appropriate buffer.
Use the next resistance zone or another planned level as a potential target.
Short Setup
Establish a bearish directional bias.
Wait for price to return to a resistance zone.
Give greater attention to strong or POC-confluence resistance.
Look for lower-timeframe confirmation, such as:
A liquidity sweep and close back below the zone
A bearish rejection candle
A lower high
A bearish market-structure shift
Negative volume or delta confirmation
Consider invalidation above the zone and an appropriate buffer.
Use the next support zone or another planned level as a potential target.
Zones should be treated as areas where a reaction may occur, not as automatic entry signals.
Settings Guide
1. Zone Detection
Zone Detection Timeframe
Controls the timeframe used to detect pivots and rejections.
It must be equal to or higher than the current chart timeframe.
Pivot Bars Left
Controls how many bars must appear to the left of a pivot.
Higher values produce fewer and more significant pivots.
Pivot Bars Right
Controls how many bars must form after a pivot before it is confirmed.
Higher values provide more selective confirmation but cause zones to appear later.
Minimum Rejections
The number of separate valid rejections required before a zone becomes visible.
Strong-Zone Rejections
The number of valid rejections required to upgrade a confirmed zone to strong status.
The script will never allow the effective strong threshold to be lower than the minimum confirmation threshold.
Minimum Bars Between Rejections
Controls how many detection-timeframe bars must separate two counted rejections.
Minimum Rejection Wick
Defines how far the pivot candle must close away from its high or low.
For resistance, the pivot candle must close below its high by this amount.
For support, the pivot candle must close above its low by this amount.
Set it to zero to disable this filter.
Require Correct Approach Direction
When enabled:
Resistance should be approached from below.
Support should be approached from above.
This helps prevent sideways price action from repeatedly creating levels inside congestion.
Require Displacement After Rejection
Requires price to move a minimum distance away from the rejection before it is accepted.
Displacement Mode
Choose between:
Fixed ticks
ATR-based displacement
Minimum Displacement
The fixed tick distance required when using Ticks mode.
Displacement Window
The number of bars immediately following the pivot that are examined for displacement.
The effective window cannot exceed the number of pivot-right bars because the rejection must remain fully confirmed.
ATR Length and Multiplier
Control the volatility-adjusted displacement requirement when ATR mode is selected.
2. Zone Construction and Life
Zone Thickness
Controls the vertical size of every support and resistance zone in ticks.
Zone Merge Tolerance
Controls how close two same-direction rejection areas can be before they are grouped together.
Zone Freshness Lookback
Deletes levels whose most recent valid rejection is older than the selected number of days.
Zone Length
Choose between continuous extension until invalidation or a fixed number of detection bars.
Fixed Length
Controls how many detection-timeframe bars a fixed-length zone remains active.
Break Confirmation Candle
Selects whether invalidation is confirmed by the detection timeframe or current chart timeframe.
Break Buffer
Adds extra space beyond the outside boundary before a zone is deleted.
For MNQ:
4 ticks = 1 point
8 ticks = 2 points
Maximum Tracked Levels
Limits the total number of zone records stored by the indicator.
This includes both:
Hidden one-rejection candidates
Visible confirmed zones
When the limit is exceeded, the oldest level based on its most recent rejection is removed.
3. Session Volume Profile Confluence
Use Completed-Profile POC Confluence
Turns POC analysis on or off.
Profile Timeframe
Controls the duration of each completed volume profile.
Use 1D for completed daily profiles.
Profile Session
Choose between exchange regular hours or extended/full-session data.
POC Lookback
Controls how many completed POC rows are retained for confluence testing.
Footprint Row Size
Controls the price height of each footprint row in ticks.
Smaller values provide greater price resolution but may create noisier profile results.
Larger values group more prices into each row.
Value Area Percent
Controls the value-area percentage used when constructing the footprint profile.
The current indicator uses the profile’s POC for zone confluence and does not separately draw VAH or VAL.
POC Overlap Tolerance
Adds a tick allowance around each POC row when checking whether it overlaps a zone.
4. Appearance
The following can be customized independently:
Support color
Resistance color
Regular-zone opacity
Strong-zone opacity
POC-zone opacity
Border width
Zones are drawn behind the candles to keep price action readable.
Recommended MNQ Starting Settings
Setting Starting Value
Detection timeframe 60 minutes
Pivot bars left 3
Pivot bars right 3
Minimum rejections 2
Strong-zone rejections 3
Minimum bars between rejections 3
Minimum rejection wick 4 ticks
Correct approach direction On
Displacement filter On
Displacement mode Ticks
Minimum displacement 20 ticks
Displacement window 3 bars
Zone thickness 20 ticks
Merge tolerance 8 ticks
Freshness 10 days
Zone length Until broken
Break confirmation Detection timeframe
Break buffer 4 ticks
Profile timeframe 1D
Profile session Exchange regular
POC lookback 5 profiles
Footprint row size 4 ticks
POC tolerance 0–4 ticks
Regular opacity 50%
Strong opacity 75%
POC opacity 100%
These are starting values, not universal settings. Different instruments and timeframes may require different zone sizes, displacement requirements, and profile-row sizes.
Available Alerts
The indicator includes alert conditions for:
New support zone
New resistance zone
Zone upgraded to strong
Zone gained POC confluence
Support zone broken
Resistance zone broken
To create an alert:
Add the indicator to the chart.
Select Create Alert.
Choose this indicator under the alert condition.
Select the desired event.
Use Once Per Bar Close when close confirmation is required.
Important Notes
This is an indicator, not an automated strategy.
It does not place trades or calculate position size.
A zone is not displayed until the required rejections are fully confirmed.
Higher pivot-right values create slower but more selective confirmation.
Existing zone boundaries can adjust when a new valid rejection is merged into the same area.
POC appearance can change as completed profiles enter or leave the selected lookback.
Footprint and POC results depend on the data available for the symbol.
Support and resistance zones represent areas of interest, not guaranteed reversal points.
Always combine zones with risk management, market context, and entry confirmation.
Smart Support & Resistance + Session POC is designed to reduce chart clutter while highlighting repeatedly defended price areas and the zones that also contain meaningful historical volume concentration.
Overview
Smart Support & Resistance + Session POC is a confirmation-based support and resistance indicator designed to identify meaningful price areas instead of plotting a level after every pivot or wick.
The indicator searches for repeated, separate price rejections on a user-selected detection timeframe. A level remains hidden after its first rejection and only becomes a visible zone after it receives the required number of valid rejections.
Each rejection can be filtered by:
Pivot structure
Approach direction
Minimum wick rejection
Minimum displacement away from the level
Time between separate visits
Distance from existing zones
The indicator can also compare confirmed zones with the Point of Control from previous completed volume-profile sessions. Zones with POC confluence are displayed more prominently, allowing traders to quickly identify areas where repeated price rejection and concentrated traded volume overlap.
This indicator is intended for intraday support and resistance analysis on futures, stocks, forex, and other symbols that provide the required volume and footprint data.
Main Features
Multi-Timeframe Zone Detection
Zones can be calculated from a timeframe independent of the chart timeframe.
For example, you can:
Calculate zones from the 1-hour timeframe.
View those same zones on a 15-minute chart.
Drop to the 5-minute or 1-minute chart for execution.
This keeps the important higher-timeframe structure visible while using a lower timeframe for trade entries.
The selected detection timeframe must be equal to or higher than the chart timeframe.
Confirmation-Based Zone Detection
The indicator does not display every pivot high or pivot low.
A level begins as a hidden candidate after its first valid rejection. It only becomes a visible support or resistance zone after receiving the selected minimum number of separate rejections.
The default requirement is:
Regular zone: 2 valid rejections
Strong zone: 3 or more valid rejections
The thresholds are fully adjustable.
Because pivot confirmation requires bars to form on the right side of the pivot, zones appear after confirmation rather than attempting to predict a turning point in advance.
What Counts as a Valid Rejection?
A rejection must pass the enabled quality filters before it can be counted.
Resistance Rejection
A potential resistance rejection is created when:
A confirmed pivot high forms.
Price approached the area from underneath, when the approach filter is enabled.
The pivot candle closes sufficiently below its high.
Price produces the required downward displacement after the rejection.
The rejection is sufficiently separated from the previous visit.
Support Rejection
A potential support rejection is created when:
A confirmed pivot low forms.
Price approached the area from above, when the approach filter is enabled.
The pivot candle closes sufficiently above its low.
Price produces the required upward displacement after the rejection.
The rejection is sufficiently separated from the previous visit.
These filters help prevent ordinary consolidation, repeated candles inside the same range, and weak pivots from being counted as meaningful support or resistance.
Separate-Visit Logic
Several candles reacting around the same level do not automatically count as several independent rejections.
A new rejection must be separated from the previous rejection by the selected number of detection-timeframe bars.
For example, with:
Detection timeframe: 60 minutes
Minimum bars between rejections: 3
The next rejection must occur at least three 1-hour bars after the previous rejection before it can increase the zone’s rejection count.
This prevents a cluster of candles from incorrectly creating an immediate strong zone.
Adjustable Tick-Based Zones
Zone thickness is defined in ticks using the symbol’s minimum tick size.
This allows the same indicator to adjust correctly across different instruments.
For MNQ:
1 tick = 0.25 points
4 ticks = 1 point
20 ticks = 5 points
40 ticks = 10 points
Support zones are constructed upward from the confirmed rejection low.
Resistance zones are constructed downward from the confirmed rejection high.
When a new valid rejection is merged into an existing zone, the zone may adjust to include the newer rejection extreme while maintaining the selected zone thickness.
Zone Merging
Nearby rejections of the same type can be grouped into one zone instead of creating several overlapping boxes.
The Zone merge tolerance setting controls how close two areas can be before they are treated as the same support or resistance zone.
A larger merge tolerance produces fewer, broader structural areas.
A smaller merge tolerance keeps nearby levels separate and creates more zones.
Zone Strength and Appearance
The indicator uses opacity to display zone quality without adding labels, centerlines, or unnecessary chart clutter.
Default appearance:
Regular zone: 50% opacity
Strong zone: 75% opacity
POC-confluence zone: 100% opacity
Support zones are green by default.
Resistance zones are red by default.
All colors, opacity levels, and border widths are customizable.
Visual Priority
POC confluence has the highest appearance priority.
Therefore:
A two-rejection zone without POC confluence appears as a regular zone.
A zone reaching the strong-rejection threshold appears as a strong zone.
Any confirmed zone overlapping a selected POC appears at the POC opacity level.
The chart remains clean because no labels or centerlines are required to identify zone quality.
Completed Session POC Confluence
The indicator can analyze Point of Control levels from previously completed volume profiles.
The Point of Control represents the highest-volume price row within the selected completed profile.
A confirmed zone receives POC confluence when its price range overlaps a POC row within the selected profile lookback.
POC confluence can be calculated from:
Exchange-defined regular sessions
Extended or full sessions
The profile timeframe is also adjustable.
For intraday trading, a common configuration is:
Profile timeframe: 1D
Profile session: Exchange regular
POC lookback: 5 completed profiles
This compares active support and resistance zones with POCs from the previous five completed daily profiles.
Completed Profiles Only
The indicator uses completed profiles rather than a developing current-session POC.
A developing POC can move throughout the session as additional volume trades. Using completed profiles provides a stable reference that does not continue shifting during the current session.
POC Lookback
The POC lookback controls how many completed profiles remain available for confluence.
For example:
A lookback of 1 checks only the most recently completed profile.
A lookback of 5 checks the previous five completed profiles.
A lookback of 10 checks the previous ten completed profiles.
When an old profile leaves the selected lookback, the indicator recalculates confluence. A zone may therefore lose its POC appearance when the POC supporting it is no longer inside the active lookback.
POC functionality requires footprint data to be available for the TradingView account and selected symbol.
Zone Invalidation
A zone is considered invalid when price closes completely beyond its outside boundary plus the selected break buffer.
Support Invalidation
A support zone is deleted when the selected confirmation candle closes below:
Support zone bottom − break buffer
Resistance Invalidation
A resistance zone is deleted when the selected confirmation candle closes above:
Resistance zone top + break buffer
A wick through the zone does not automatically invalidate it. Price must close beyond the zone and its buffer.
Once broken:
The zone is permanently removed from the chart.
It is not faded.
It is not retained as a historical zone.
It does not automatically convert into a support/resistance flip.
A new zone can form near the same price only after new valid rejections occur.
Break Confirmation Timeframe
There are two break-confirmation choices.
Detection Timeframe
This is the recommended setting.
A zone calculated from the 1-hour timeframe is invalidated only by a confirmed 1-hour close beyond the zone and buffer.
This prevents a small lower-timeframe close from deleting a higher-timeframe zone prematurely.
Chart Timeframe
The zone is invalidated by a confirmed close on the current chart timeframe.
This is more responsive but also more sensitive.
For example, a 1-minute close could invalidate a zone calculated from the 1-hour timeframe.
Zone Freshness
The Zone freshness lookback determines how long a level can remain active without receiving another valid rejection.
Freshness is measured from the zone’s most recent valid rejection.
For example, with a 10-day freshness setting:
A zone whose most recent valid rejection occurred within the last 10 days remains active.
A zone that has not received a valid rejection for more than 10 days is deleted.
A new valid rejection refreshes the zone’s age.
The freshness setting is measured in calendar-day periods.
Zone Length
Two zone-extension modes are available.
Until Broken
The zone continuously extends to the right until:
Price invalidates it.
It becomes stale.
It is removed because of the maximum tracked-level limit.
This is the recommended setting for active support and resistance trading.
Fixed Detection Bars
The zone extends for a selected number of detection-timeframe bars after confirmation.
For example:
Detection timeframe: 60 minutes
Fixed length: 100 bars
The zone remains active for approximately 100 confirmed 1-hour bars unless it is invalidated or becomes stale first.
How to Use the Indicator
Step 1: Choose the Detection Timeframe
Select the timeframe from which support and resistance should be calculated.
Common examples:
Scalping on a 1-minute chart: use 15-minute, 30-minute, or 1-hour zones.
Trading on a 5-minute chart: use 30-minute or 1-hour zones.
Trading on a 15-minute chart: use 1-hour or 4-hour zones.
The detection timeframe cannot be lower than the chart timeframe.
A good starting point for MNQ intraday trading is:
Chart timeframe: 1–5 minutes
Detection timeframe: 60 minutes
Step 2: Set the Minimum Rejections
Start with:
Minimum rejections: 2
Strong-zone rejections: 3
With these settings:
The first rejection creates a hidden candidate.
The second valid rejection confirms and displays the zone.
The third valid rejection upgrades it to a strong zone.
Increasing the required rejections creates fewer but more selective zones.
Step 3: Set the Zone Thickness
Choose a zone thickness that matches the instrument’s normal movement.
Suggested MNQ starting value:
Zone thickness: 20 ticks, or 5 points
A smaller zone is more precise but may be invalidated or missed more easily.
A larger zone captures a broader area but may create less precise entries.
Zone thickness should generally be adjusted according to the instrument’s volatility and the selected detection timeframe.
Step 4: Configure the Rejection Filters
Recommended starting settings:
Require correct approach direction: On
Minimum rejection wick: 4 ticks
Require displacement: On
Displacement mode: Ticks
Minimum displacement: 20 ticks
Displacement window: 3 bars
These settings require price to produce a meaningful reaction after contacting the area.
For instruments or timeframes with changing volatility, ATR displacement can be used instead of a fixed tick amount.
Step 5: Configure the Volume Profile
Recommended intraday starting configuration:
Use completed-profile POC confluence: On
Profile timeframe: 1D
Profile session: Exchange regular
POC lookback: 5
Footprint row size: 4 ticks
POC overlap tolerance: 0–4 ticks
The profile timeframe must be higher than the chart timeframe.
Use Exchange regular when regular-session institutional volume is the main focus.
Use Extended/full when overnight and extended-session volume should be included.
Step 6: Read the Zones
Regular Zone
A regular zone has reached the minimum rejection requirement but has not reached the strong threshold and does not overlap a selected POC.
It is a valid area, but it has the lowest visual priority.
Strong Zone
A strong zone has received at least the selected number of valid rejections.
Repeated rejection suggests that the area has continued to influence price.
POC Zone
A POC zone is a confirmed support or resistance zone that overlaps a POC from the selected completed-profile lookback.
This combines:
Repeated price rejection
Structural support or resistance
High historical traded volume
POC confluence increases visual importance, but it does not guarantee that the zone will hold.
Suggested Trading Workflow
The indicator identifies reaction areas. It does not automatically provide buy or sell entries.
Long Setup
Establish a bullish directional bias.
Wait for price to return to a support zone.
Give greater attention to strong or POC-confluence support.
Look for lower-timeframe confirmation, such as:
A liquidity sweep and close back above the zone
A bullish rejection candle
A higher low
A bullish market-structure shift
Positive volume or delta confirmation
Consider invalidation below the zone and an appropriate buffer.
Use the next resistance zone or another planned level as a potential target.
Short Setup
Establish a bearish directional bias.
Wait for price to return to a resistance zone.
Give greater attention to strong or POC-confluence resistance.
Look for lower-timeframe confirmation, such as:
A liquidity sweep and close back below the zone
A bearish rejection candle
A lower high
A bearish market-structure shift
Negative volume or delta confirmation
Consider invalidation above the zone and an appropriate buffer.
Use the next support zone or another planned level as a potential target.
Zones should be treated as areas where a reaction may occur, not as automatic entry signals.
Settings Guide
1. Zone Detection
Zone Detection Timeframe
Controls the timeframe used to detect pivots and rejections.
It must be equal to or higher than the current chart timeframe.
Pivot Bars Left
Controls how many bars must appear to the left of a pivot.
Higher values produce fewer and more significant pivots.
Pivot Bars Right
Controls how many bars must form after a pivot before it is confirmed.
Higher values provide more selective confirmation but cause zones to appear later.
Minimum Rejections
The number of separate valid rejections required before a zone becomes visible.
Strong-Zone Rejections
The number of valid rejections required to upgrade a confirmed zone to strong status.
The script will never allow the effective strong threshold to be lower than the minimum confirmation threshold.
Minimum Bars Between Rejections
Controls how many detection-timeframe bars must separate two counted rejections.
Minimum Rejection Wick
Defines how far the pivot candle must close away from its high or low.
For resistance, the pivot candle must close below its high by this amount.
For support, the pivot candle must close above its low by this amount.
Set it to zero to disable this filter.
Require Correct Approach Direction
When enabled:
Resistance should be approached from below.
Support should be approached from above.
This helps prevent sideways price action from repeatedly creating levels inside congestion.
Require Displacement After Rejection
Requires price to move a minimum distance away from the rejection before it is accepted.
Displacement Mode
Choose between:
Fixed ticks
ATR-based displacement
Minimum Displacement
The fixed tick distance required when using Ticks mode.
Displacement Window
The number of bars immediately following the pivot that are examined for displacement.
The effective window cannot exceed the number of pivot-right bars because the rejection must remain fully confirmed.
ATR Length and Multiplier
Control the volatility-adjusted displacement requirement when ATR mode is selected.
2. Zone Construction and Life
Zone Thickness
Controls the vertical size of every support and resistance zone in ticks.
Zone Merge Tolerance
Controls how close two same-direction rejection areas can be before they are grouped together.
Zone Freshness Lookback
Deletes levels whose most recent valid rejection is older than the selected number of days.
Zone Length
Choose between continuous extension until invalidation or a fixed number of detection bars.
Fixed Length
Controls how many detection-timeframe bars a fixed-length zone remains active.
Break Confirmation Candle
Selects whether invalidation is confirmed by the detection timeframe or current chart timeframe.
Break Buffer
Adds extra space beyond the outside boundary before a zone is deleted.
For MNQ:
4 ticks = 1 point
8 ticks = 2 points
Maximum Tracked Levels
Limits the total number of zone records stored by the indicator.
This includes both:
Hidden one-rejection candidates
Visible confirmed zones
When the limit is exceeded, the oldest level based on its most recent rejection is removed.
3. Session Volume Profile Confluence
Use Completed-Profile POC Confluence
Turns POC analysis on or off.
Profile Timeframe
Controls the duration of each completed volume profile.
Use 1D for completed daily profiles.
Profile Session
Choose between exchange regular hours or extended/full-session data.
POC Lookback
Controls how many completed POC rows are retained for confluence testing.
Footprint Row Size
Controls the price height of each footprint row in ticks.
Smaller values provide greater price resolution but may create noisier profile results.
Larger values group more prices into each row.
Value Area Percent
Controls the value-area percentage used when constructing the footprint profile.
The current indicator uses the profile’s POC for zone confluence and does not separately draw VAH or VAL.
POC Overlap Tolerance
Adds a tick allowance around each POC row when checking whether it overlaps a zone.
4. Appearance
The following can be customized independently:
Support color
Resistance color
Regular-zone opacity
Strong-zone opacity
POC-zone opacity
Border width
Zones are drawn behind the candles to keep price action readable.
Recommended MNQ Starting Settings
Setting Starting Value
Detection timeframe 60 minutes
Pivot bars left 3
Pivot bars right 3
Minimum rejections 2
Strong-zone rejections 3
Minimum bars between rejections 3
Minimum rejection wick 4 ticks
Correct approach direction On
Displacement filter On
Displacement mode Ticks
Minimum displacement 20 ticks
Displacement window 3 bars
Zone thickness 20 ticks
Merge tolerance 8 ticks
Freshness 10 days
Zone length Until broken
Break confirmation Detection timeframe
Break buffer 4 ticks
Profile timeframe 1D
Profile session Exchange regular
POC lookback 5 profiles
Footprint row size 4 ticks
POC tolerance 0–4 ticks
Regular opacity 50%
Strong opacity 75%
POC opacity 100%
These are starting values, not universal settings. Different instruments and timeframes may require different zone sizes, displacement requirements, and profile-row sizes.
Available Alerts
The indicator includes alert conditions for:
New support zone
New resistance zone
Zone upgraded to strong
Zone gained POC confluence
Support zone broken
Resistance zone broken
To create an alert:
Add the indicator to the chart.
Select Create Alert.
Choose this indicator under the alert condition.
Select the desired event.
Use Once Per Bar Close when close confirmation is required.
Important Notes
This is an indicator, not an automated strategy.
It does not place trades or calculate position size.
A zone is not displayed until the required rejections are fully confirmed.
Higher pivot-right values create slower but more selective confirmation.
Existing zone boundaries can adjust when a new valid rejection is merged into the same area.
POC appearance can change as completed profiles enter or leave the selected lookback.
Footprint and POC results depend on the data available for the symbol.
Support and resistance zones represent areas of interest, not guaranteed reversal points.
Always combine zones with risk management, market context, and entry confirmation.
Smart Support & Resistance + Session POC is designed to reduce chart clutter while highlighting repeatedly defended price areas and the zones that also contain meaningful historical volume concentration.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。