OPEN-SOURCE SCRIPT
PIVOTRIX

1. Multi-Timeframe Footprint Filtering
The script continually looks into the 1-Hour (60-minute) timeframe to analyze transaction profiles. When it captures an hourly candle with trading volume exceeding its 20-period moving average by 1.5 times, it registers the candle's structural high or low as a fresh Institutional Order Block (OB).
2. Proximity Confluence Engine
Instead of mapping standard, rigid pivot levels (\(R1\), \(S2\), etc.), the script calculates an expanded array of Daily Floor Pivots (\(R1\)-\(R3\) and \(S1\)-\(S3\)). It then runs an intelligent proximity sort at the market open:It looks at the asset's exact opening price at 9:16 AM.It cross-references the raw pivots with any overlapping 1-hour Order Blocks. If an institutional block sits within 1% of a pivot, the script warps the level onto the order block's exact coordinates.It selects the two closest resistance levels strictly above the opening price, and the two closest support levels strictly below it.
3. Continuous Unbroken Drawing
Once the script flags the four optimal structural boundaries at the opening anchor candle, it locks the values for the remainder of the session. This bypasses intraday price fluctuations and prevents the lines from repainting or fracturing. The channels are drawn continuously using native series plotting from the opening bell to the market close.
4. Volatility-Scaled Narrow Bands
To construct readable structural zones rather than standard microscopic lines, the script applies an Average True Range (ATR) offset. To ensure the zones remain slim, sharp, and do not crowd your chart, the indicator inputs a 10% compression factor (Daily ATR * Multiplier * 0.1). This locks in narrow channels scaled directly to the asset's active multi-day volatility index.
5. Market Open Context
At 09:16 AM, look at where the asset price sits relative to the four narrow bands.
The Golden Bracket:
The script locks the nearest structural levels based on volatility.
If the distance between Resistance 1 and Support 1 is very narrow, expect a high-volatility breakout day.
If the distance is wide, expect a choppy, range-bound day.
The script continually looks into the 1-Hour (60-minute) timeframe to analyze transaction profiles. When it captures an hourly candle with trading volume exceeding its 20-period moving average by 1.5 times, it registers the candle's structural high or low as a fresh Institutional Order Block (OB).
2. Proximity Confluence Engine
Instead of mapping standard, rigid pivot levels (\(R1\), \(S2\), etc.), the script calculates an expanded array of Daily Floor Pivots (\(R1\)-\(R3\) and \(S1\)-\(S3\)). It then runs an intelligent proximity sort at the market open:It looks at the asset's exact opening price at 9:16 AM.It cross-references the raw pivots with any overlapping 1-hour Order Blocks. If an institutional block sits within 1% of a pivot, the script warps the level onto the order block's exact coordinates.It selects the two closest resistance levels strictly above the opening price, and the two closest support levels strictly below it.
3. Continuous Unbroken Drawing
Once the script flags the four optimal structural boundaries at the opening anchor candle, it locks the values for the remainder of the session. This bypasses intraday price fluctuations and prevents the lines from repainting or fracturing. The channels are drawn continuously using native series plotting from the opening bell to the market close.
4. Volatility-Scaled Narrow Bands
To construct readable structural zones rather than standard microscopic lines, the script applies an Average True Range (ATR) offset. To ensure the zones remain slim, sharp, and do not crowd your chart, the indicator inputs a 10% compression factor (Daily ATR * Multiplier * 0.1). This locks in narrow channels scaled directly to the asset's active multi-day volatility index.
5. Market Open Context
At 09:16 AM, look at where the asset price sits relative to the four narrow bands.
The Golden Bracket:
The script locks the nearest structural levels based on volatility.
If the distance between Resistance 1 and Support 1 is very narrow, expect a high-volatility breakout day.
If the distance is wide, expect a choppy, range-bound day.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.