OPEN-SOURCE SCRIPT
Neural SR [BeNice]

Neural SR [BeNice] — Description
Neural SR [BeNice] is an advanced support and resistance indicator that automatically detects, manages, and visualizes pivot-based price levels derived from multiple timeframes. Beyond simple line plotting, the indicator evaluates the quality and relevance of each level by analyzing price interaction behavior such as touches, reactions, and retests, and dynamically filters the results accordingly.
Core Methodology
• Generates support and resistance levels from pivot highs and pivot lows
• Supports dual higher-timeframe (HTF) analysis within a single chart
• Scores levels based on real market interaction instead of static occurrence counts
• Reduces noise through cluster merging of nearby levels
• Optionally visualizes levels as zones rather than single price lines
Key Features
1) Dual Timeframe Support (TF1 + TF2)
The indicator allows two independent higher timeframes to be displayed simultaneously, enabling users to monitor both local and major structural levels in one environment.
Each timeframe includes independent controls for:
• Pivot sensitivity (left/right bars)
• Maximum number of levels
• Color, width, and style
• Line extension behavior
2) Adaptive Touch Detection (Wick / Body / Wick+Body)
Users can define how price interaction with a level is interpreted:
• Wick only
• Candle body only
• Combined wick and body
Tolerance can be controlled using ATR-based or tick-based deviation, ensuring consistent behavior across instruments with different volatility characteristics.
3) Strength Scoring Engine
Instead of treating all levels equally, the indicator computes a strength score based on market behavior:
• Number of touches (from above and below)
• Measured reactions after contact within a defined window
• Break and retest occurrences
• Cluster merge density
This score dynamically controls:
• Line thickness
• Transparency (visual prominence)
Weak levels can be automatically filtered using configurable thresholds.
4) Break & Retest Detection
An optional module tracks confirmed breaks and subsequent retests within a configurable time window. When a valid retest occurs, the indicator marks it directly on the chart, providing contextual confirmation of structural shifts.
ATR-based buffers can be applied to define break validity.
5) Zone Mode
Levels can be displayed as price zones instead of single lines. Zone width can be derived from ATR or tick values, which is particularly useful in high-volatility environments where price interaction rarely occurs at an exact level.
6) Cluster Merge Logic
Nearby levels within a configurable tolerance are automatically merged into a single representative level. This approach:
• Reduces visual clutter
• Improves chart readability
• Highlights areas with higher structural significance
7) Volume and Range Filters (Optional)
Level generation can be filtered based on the conditions of the pivot bar:
• Volume Filter — Accept levels only if volume exceeds a moving average threshold
• Range Filter — Accept levels only if true range exceeds an ATR-based threshold
Differentiation
Neural SR [BeNice] differs from conventional support and resistance tools by focusing on behavior-driven validation rather than static level detection.
Key distinctions include:
• Dynamic strength modeling based on market interaction
• Automatic prominence adjustment to emphasize relevant levels
• Intelligent merging of overlapping levels to reduce noise
• Volatility-adaptive tolerance using ATR and tick scaling
• Integrated multi-timeframe architecture within a single indicator
Usage Notes
• Because the indicator is pivot-based, levels become confirmed only after pivot validation (left/right bar confirmation delay is expected)
• When filters and automatic strength thresholds are enabled, weaker levels may be intentionally hidden to maintain clarity
• This tool is designed for technical analysis support and should not be considered a standalone trading signal
Neural SR [BeNice] is an advanced support and resistance indicator that automatically detects, manages, and visualizes pivot-based price levels derived from multiple timeframes. Beyond simple line plotting, the indicator evaluates the quality and relevance of each level by analyzing price interaction behavior such as touches, reactions, and retests, and dynamically filters the results accordingly.
Core Methodology
• Generates support and resistance levels from pivot highs and pivot lows
• Supports dual higher-timeframe (HTF) analysis within a single chart
• Scores levels based on real market interaction instead of static occurrence counts
• Reduces noise through cluster merging of nearby levels
• Optionally visualizes levels as zones rather than single price lines
Key Features
1) Dual Timeframe Support (TF1 + TF2)
The indicator allows two independent higher timeframes to be displayed simultaneously, enabling users to monitor both local and major structural levels in one environment.
Each timeframe includes independent controls for:
• Pivot sensitivity (left/right bars)
• Maximum number of levels
• Color, width, and style
• Line extension behavior
2) Adaptive Touch Detection (Wick / Body / Wick+Body)
Users can define how price interaction with a level is interpreted:
• Wick only
• Candle body only
• Combined wick and body
Tolerance can be controlled using ATR-based or tick-based deviation, ensuring consistent behavior across instruments with different volatility characteristics.
3) Strength Scoring Engine
Instead of treating all levels equally, the indicator computes a strength score based on market behavior:
• Number of touches (from above and below)
• Measured reactions after contact within a defined window
• Break and retest occurrences
• Cluster merge density
This score dynamically controls:
• Line thickness
• Transparency (visual prominence)
Weak levels can be automatically filtered using configurable thresholds.
4) Break & Retest Detection
An optional module tracks confirmed breaks and subsequent retests within a configurable time window. When a valid retest occurs, the indicator marks it directly on the chart, providing contextual confirmation of structural shifts.
ATR-based buffers can be applied to define break validity.
5) Zone Mode
Levels can be displayed as price zones instead of single lines. Zone width can be derived from ATR or tick values, which is particularly useful in high-volatility environments where price interaction rarely occurs at an exact level.
6) Cluster Merge Logic
Nearby levels within a configurable tolerance are automatically merged into a single representative level. This approach:
• Reduces visual clutter
• Improves chart readability
• Highlights areas with higher structural significance
7) Volume and Range Filters (Optional)
Level generation can be filtered based on the conditions of the pivot bar:
• Volume Filter — Accept levels only if volume exceeds a moving average threshold
• Range Filter — Accept levels only if true range exceeds an ATR-based threshold
Differentiation
Neural SR [BeNice] differs from conventional support and resistance tools by focusing on behavior-driven validation rather than static level detection.
Key distinctions include:
• Dynamic strength modeling based on market interaction
• Automatic prominence adjustment to emphasize relevant levels
• Intelligent merging of overlapping levels to reduce noise
• Volatility-adaptive tolerance using ATR and tick scaling
• Integrated multi-timeframe architecture within a single indicator
Usage Notes
• Because the indicator is pivot-based, levels become confirmed only after pivot validation (left/right bar confirmation delay is expected)
• When filters and automatic strength thresholds are enabled, weaker levels may be intentionally hidden to maintain clarity
• This tool is designed for technical analysis support and should not be considered a standalone trading signal
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。