OPEN-SOURCE SCRIPT

Pivots High Low Live Detection

523
Pivots High Low Live Detection

Identifies and visualizes swing highs and lows on the chart in real time.

Helps to observe evolving market structure by connecting confirmed or developing pivot points with lines and labels.

Using a configurable lookback, minimum deviation, and confirmation bar system, the indicator highlights new Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) as they form.

When “Live (repainting)” mode is enabled, the current swing leg updates dynamically with each candle, giving immediate feedback as price develops.
When disabled, only confirmed pivots are plotted, ideal for historical validation and backtesting.

+ Key Features

Detects and labels major swing points (HH, HL, LH, LL).

Works in live or confirmed (non-repainting) mode.

Adjustable parameters for lookback, deviation (in ticks), and confirmation bars.

Lightweight and compatible with any timeframe or symbol.

Includes runtime alerts for new structural pivots and direction shifts.

+ How to Use

Adjust the inputs under the “Pivots” group to control sensitivity.

Enable “Live (repainting)” to see developing swing legs, or disable it for confirmed structure only.

Use alerts to track structural changes or potential trend reversals.

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.