High Timeframe Structure Lens
- Indicateurs
-
Shipra Gupta
Je suis Shipra Gupta, trader et développeuse de stratégies quantitatives avec une solide formation en mathématiques, économie et systèmes de trading algorithmique. Au fil des années, j’ai travaillé activement sur les marchés du forex, de l’or, des indices, des matières premières et des - Version: 1.0
High-Timeframe Structure Lens (HTF Structure Lens)
HTF Structure Lens is a multi-timeframe analysis tool designed to plot higher-timeframe candlestick panels directly onto your execution chart. By offsetting higher-timeframe candles into the right margin of your screen, it removes the need to switch between timeframes. This enables traders to evaluate higher-timeframe market structure, order flow, liquidity levels, and imbalances alongside real-time price action.
Key Features
-
Multi-Timeframe Side-by-Side Panel
-
Six Custom HTF Slots: Configure up to six different timeframes, such as M15, H1, H4, D1, and W1, simultaneously.
-
Offset Right-Margin Placement: Renders higher-timeframe candles in the future space to the right of your execution chart, keeping active price action clean.
-
Customizable Candle Displays: Define the exact number of past candles to render for each higher timeframe.
-
Built-in Smart Money Concepts and Structural Tools
-
Fair Value Gaps: Automatically detects and highlights 3-candle imbalance zones directly on the higher-timeframe candles.
-
Swing Highs and Lows: Tracks swing pivots with clear visual cues using solid lines for confirmed swing levels and dashed lines for potential or unconfirmed swing levels.
-
Equilibrium Levels: Displays midpoint equilibrium lines across higher-timeframe candle ranges to evaluate discount and premium pricing.
-
Real-Time Candle Metrics and Timers
-
Live Bar Timers: Displays real-time countdown timers showing the exact remaining time until the active higher-timeframe candle closes.
-
Swing Direction Indicators: Adds directional text or markers to timeframe labels to quickly signal structural shifts.
-
Candle Time Tags: Optional timestamps under individual higher-timeframe candles for exact temporal reference.
-
Fully Customizable Visuals and Performance Optimized
-
Atomic Rendering: Clears and rebuilds objects efficiently on every tick to ensure zero chart flicker.
-
Custom Color Palette: Full control over bullish and bearish candle bodies, borders, wicks, gap fills, labels, and equilibrium lines.
-
Flexible Spacing: Adjust chart offset distance, candle spacing width, and gap sizes between timeframe groups.
How It Works
-
Higher-Timeframe Data Query: The indicator fetches price rates including open, high, low, and close from user-selected higher timeframes relative to the execution chart asset.
-
Horizontal Bar Mapping: Converts bar time intervals into horizontal offset values to render synthetic candlestick panels past the current live candle.
-
Structure Computation: On each update, the algorithm calculates multi-bar swing points, range midpoints, and 3-candle fair value gaps across the selected higher-timeframe sets.
Input Settings Guide
HTF Slots
-
InpH1_On to InpH6_On (Default: H1-H3 True): Toggle individual higher-timeframe slots on or off.
-
InpH1_TF to InpH6_TF (Default: M15, H1, H4): Select the timeframe assigned to each slot.
-
InpH1_N to InpH6_N (Default: 4): Number of candles to display for each timeframe slot.
Layout and Spacing
-
InpOffset (Default: 30): Distance in bars from the current live candle to the first panel.
-
InpBuffer (Default: 1): Space in bars between individual higher-timeframe candles within a group.
-
InpHTFBuffer (Default: 10): Space in bars separating different higher-timeframe groups.
-
InpWidth (Default: 1): Candle width scale factor.
Labels and Timers
-
InpLabelShow (Default: true): Show or hide higher-timeframe name labels.
-
InpLabelPos (Default: Top): Placement position for labels choosing Top, Bottom, or Both.
-
InpTimerShow (Default: true): Display remaining candle close countdown timers.
-
InpCandleTime (Default: false): Display small time tags under individual higher-timeframe candles.
SMC and Imbalance
-
InpFVGShow (Default: true): Highlight fair value gaps within higher-timeframe candle sets.
-
InpSwingShow (Default: true): Render swing high and swing low structure lines.
-
InpEQShow (Default: true): Display 50 percent equilibrium midpoint lines on higher-timeframe ranges.
-
InpEQPrevOnly (Default: true): Restrict equilibrium lines strictly to previous candle ranges.
