OPEN-SOURCE SCRIPT

Pivot Bull/Bear RVOL + Volume Leader Marker

50
📈 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

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.