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.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Connect the dots to elevate your trading.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Connect the dots to elevate your trading.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.