PROTECTED SOURCE SCRIPT
Forex Support Level Identifier. Beta version. [Dots3Red]

The following script is designed to detect horizontal support levels on Forex Pairs.
Description
Instead of drawing random support/resistance lines, this script analyzes how the price repeatedly builds structure around specific levels over time. When multiple reactions form near the same price area within a defined time window, they are grouped into a cluster, forming a statistically meaningful base.
These bases often represent:
• accumulation or positioning areas
• liquidity resting zones
• pre-breakout compression levels
• areas where price is likely to react again
How It Works
The script:
• Tracks recurring price interaction points
• Groups nearby reactions into clusters
• Continuously readjusts the base level as structure evolves
• Invalidates bases when structure breaks decisively
The user can select the following parameters:
• Long Window Timeline: This parameter looks for the maximum bar length to analyse the chart
• Short Window Timeline: Defines the maximum number of bars allowed between price reactions for them to be considered part of the same structural base.
• DevThreshold: This setting controls how close price reactions must be to be considered part of the same structural base.

Best Use Cases
This indicator is especially useful for:
• Identifying breakout launchpads
• Finding pullback reaction zones
• Confirming entries near the structure
• Understanding where liquidity may be sitting
The limitations
• Forex only
• For lower timeframes, there can be too much noise. Good for daily charts, though tested on a 15-minute time period too.
•The source code is hidden due to too inconsistent formatting, too many magic numbers that need proper statistical checks.
Future work
Description
Instead of drawing random support/resistance lines, this script analyzes how the price repeatedly builds structure around specific levels over time. When multiple reactions form near the same price area within a defined time window, they are grouped into a cluster, forming a statistically meaningful base.
These bases often represent:
• accumulation or positioning areas
• liquidity resting zones
• pre-breakout compression levels
• areas where price is likely to react again
How It Works
The script:
• Tracks recurring price interaction points
• Groups nearby reactions into clusters
• Continuously readjusts the base level as structure evolves
• Invalidates bases when structure breaks decisively
The user can select the following parameters:
• Long Window Timeline: This parameter looks for the maximum bar length to analyse the chart
• Short Window Timeline: Defines the maximum number of bars allowed between price reactions for them to be considered part of the same structural base.
• DevThreshold: This setting controls how close price reactions must be to be considered part of the same structural base.
Best Use Cases
This indicator is especially useful for:
• Identifying breakout launchpads
• Finding pullback reaction zones
• Confirming entries near the structure
• Understanding where liquidity may be sitting
The limitations
• Forex only
• For lower timeframes, there can be too much noise. Good for daily charts, though tested on a 15-minute time period too.
•The source code is hidden due to too inconsistent formatting, too many magic numbers that need proper statistical checks.
Future work
- Adding a smarter cluster detection with the merge technique.
- Making the indicator work for all asset classes.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
Connect the dots to elevate your trading.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
Connect the dots to elevate your trading.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。