OPEN-SOURCE SCRIPT

Pivot Bull/Bear RVOL + Volume Leader Marker

48
📈 Pivot Pattern Highlighter with RVOL + Volume Leader Marker
This indicator detects bullish and bearish pivot reversal patterns that meet both price structure and volume strength criteria, and highlights the 3-bar sequence around them.

✅ Key Features:
Bullish Pivot (Reversal Low):
Candle low[2] is lower than the 2 candles before and 2 after (a "V"-shaped low).

Bearish Pivot (Reversal High):
Candle high[2] is higher than the 2 candles before and 2 after (an inverted "V"-shaped high).

Volume Filter:
At least one of the 3 candles in the sequence must have relative volume (RVOL) ≥ 1.5× its average over the past 20 bars.

Highlights:

All 3 candles in a valid pivot sequence are shaded:

Green for bullish pivot

Red for bearish pivot

Volume Leader Marker:

The candle with the highest volume in the sequence is marked with a symbol:

🔺 Green triangle up above the bar = Bullish pivot leader

🔻 Red triangle down below the bar = Bearish pivot leader

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.