OPEN-SOURCE SCRIPT

Pivots High Low Live Detection

442
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.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.