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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.