INVITE-ONLY SCRIPT

HH&LL by Sirius

148
Protected Script Notice
This script, "HH&LL by Sirius", is published as invite-only to protect its proprietary logic, which implements a refined detection mechanism for higher highs, lower lows, and liquidity points using advanced price action filtering. The underlying architecture integrates custom zone-based plotting, pivot analysis, and dynamic support/resistance tracking that is tailored for discretionary or rule-based trading. The source code is protected to preserve the originality and tactical advantages it provides in identifying significant market structure changes.

Overview
The "HH&LL by Sirius" indicator is a comprehensive market structure tool that identifies and labels key swing points—Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL)—to help traders visualize trend progression and potential reversal areas. It builds upon traditional pivot-based logic with extended historical comparisons, confirming points only when certain criteria are met to reduce noise and enhance reliability.

Key Features and Logic

Zigzag-like Market Structure Detection
The indicator derives its structure by calculating pivots and comparing sequences of highs/lows to identify meaningful HH, HL, LH, and LL patterns. These structures are refined through multi-level checks that validate each point using historical swing relationships.

Support and Resistance Zones (POIs)
Once structural points are confirmed, the script dynamically plots support (HLs) and resistance (LHs) lines that persist until invalidated by price. These Points of Interest (POIs) are labeled and include an optional hit-count system that displays how many times price has interacted with the level, providing insight into liquidity and potential breakout zones.

Label Customization and Visualization
Labels can include the price level, touch count, and confluence icons (e.g., 🐂 or 🐻) depending on configuration. Custom color settings allow for distinguishing bullish and bearish levels, and a separate logic manages label deletion or style change when a POI is invalidated.

Time-Based Session Filtering
The indicator supports two custom date ranges to filter plotting to specific market sessions. This is useful for focusing on key trading weeks or events. A background color option highlights active sessions.

All-Time High (ATH) Tracking
An optional feature tracks and plots the current all-time high on the chart. The ATH line includes extended styling options such as width, transparency band, and dynamic labeling on both sides of the chart.

Visual Outputs

Lines: Horizontal support and resistance lines drawn at HL and LH points, color-coded and styled based on user settings.

Labels: Detailed or minimalist annotations for POIs, touch count, and liquidity status. Labels can be positioned left/right and toggled for price visibility.

Zones: Optional background shading for specific date ranges, aiding in session-based analysis.

ATH Display: A prominently plotted line for all-time highs, including adjustable label and band features.

Trading Use Cases

Trend Confirmation: Use HH/HL or LH/LL sequences to confirm uptrends or downtrends.

Liquidity Traps and Sweeps: High POI hit counts or rapid invalidations can signal areas of engineered liquidity or breakout risk.

Zone-Based Confluence: Combine session filtering with structure plotting to find key zones of reversal or continuation.

Support/Resistance Breaks: Watch for price closing beyond a plotted POI to assess potential trend shifts or breakout opportunities.

Note
The script includes multiple internal optimizations and custom controls for advanced users. It is designed for traders seeking a deeper view of market structure beyond basic pivot plotting, with optional aesthetic and data visibility preferences to suit different trading workflows.

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.