返回代码库
TradingView指标未分类已发布

Support and Resistance Zones [NJ]

TradingView 原文 · 抓取于 2026.09.30

TradingView 指标 · CryptoNejc

原作者CryptoNejc
首次发布2026.10.01
当前版本v1.0
已审核发布文件tradingview-0nm6xh59.pine7.8 KB · TradingView · v1.0
SHA-256
b5a37d59fb2dcf069854e75a02ffd39376443847f22645ffce088b4f2494ca6e
授权
待确认
授权与文件校验
授权条款
待确认
SHA-256
b5a37d59fb2dcf069854e75a02ffd39376443847f22645ffce088b4f2494ca6e
登录后下载;未登录仍可查看源码预览
SOURCE PREVIEW

源码预览

正在读取已发布源码…
CAPABILITIES

核心功能

✧ OVERVIEW ✧

Indicator identifies potential support and resistance zones using confirmed swing highs and lows.

Zones are formed when two swing points occur near the same price level within an ATR-based tolerance and the selected minimum and maximum distance between touches.

Confirmed zones extend forward to the current bar and can be used as reference areas for potential reversals, breakouts, and general market structure analysis.

TradingView · CryptoNejc

✧ SETTINGS ✧

Color Mode Switches between colored support/resistance zones and a neutral white visualization.

Maximum Zones Shown Controls the maximum number of support and resistance zones displayed on the chart.

Minimum Zone Distance Controls the minimum distance required between existing and newly detected zones, measured in ATR.

Swing Strength Controls swing sensitivity. Lower values detect smaller and more frequent swings, while higher values focus on stronger and less frequent swings.

Zone Tolerance Controls how close two swing points must be to form the same support or resistance zone. Higher values allow a wider price difference.

Minimum Bars Between Touches Sets the minimum number of bars required between the two swing points forming a zone.

Maximum Bars Between Touches Sets the maximum number of bars allowed between the two swing points forming a zone.

✧ HOW IT WORKS ✧

Swing Detection The indicator identifies confirmed swing highs and swing lows using pivot-based detection.

Zone Formation A resistance zone is formed when two swing highs occur near the same price level. A support zone is formed when two swing lows occur near the same price level. The two swing points must fall within the selected ATR-based tolerance and within the selected minimum and maximum number of bars between touches.

Zone Placement The center of each zone is calculated from the average price of the two matching swing points. The width of the zone adapts to market volatility using ATR.

Zone Separation Before a new zone is displayed, its distance from existing support and resistance zones is checked. If the new zone is closer than the selected minimum zone distance, it is not displayed. This helps prevent multiple zones from clustering around essentially the same price level.

✧ VISUALIZATION ✧

Resistance zones are displayed in red and support zones in green when using Colored mode.

Neutral mode displays both types in white.

Once confirmed, each zone is drawn retrospectively from the first swing point used to form it and extends forward to the current bar.

Because swing highs and lows require future bars to be confirmed, the beginning of a zone can appear several bars before the indicator could have identified the completed structure in real time.

✧ USAGE ✧

The detected zones can provide market structure context for:

Support and resistance Potential reversals Breakout and retest analysis Entry and exit areas Stop-loss and take-profit placement Confluence with other technical analysis

The zones represent areas rather than exact price levels and are best used alongside other forms of analysis rather than as standalone entry or exit signals.

INSTALLATION

安装与验证

◇
安装说明待补充

在文档完善前,请勿将未验证文件用于实盘环境。