PROTECTED SOURCE SCRIPT

Forex Support Level Identifier. Beta version. [Dots3Red]

59
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.

cuplikan

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
  1. Adding a smarter cluster detection with the merge technique.
  2. Making the indicator work for all asset classes.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.