PROTECTED SOURCE SCRIPT
已更新 Trend Direction (ZigZag)

This indicator is designed to visually identify and label key market structure points—Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL)—using a ZigZag algorithm that efficiently tracks trend reversals and swing pivots. It overlays dynamic lines, labels, and color-coded bars directly onto your TradingView chart, making it ideal for traders seeking a clearer view of price structure for strategy development and confirmation.
What the Indicator Does
Automatically plots a ZigZag line following swing highs and lows, filtered by a customizable look-back length, helping to remove minor “noise” and highlight true structural pivots.
Labels each significant high or low as HH, HL, LH, or LL, enabling instant recognition of bullish or bearish market conditions.
Distinguishes structural shifts (“Break of Structure,” or BOS) with optional colored bar backgrounds for enhanced visual clarity when trends change.
Offers flexible controls over line color, width, label visibility and size, making it adaptable for different charting styles and timeframes.
Features and Customization
ZigZag Settings: Choose your preferred length and visual styling to fine-tune swing detection, with the ability to show or hide zigzag lines and adjust colors and thickness.
Labeling Structure: Toggle on/off the display of HH/HL/LH/LL labels, with customizable text size, helping you focus on the information relevant to your strategy.
Breakout Confirmation (Fib Factor): Integrates Fibonacci factor logic for validating when a breakout (BOS) should be recognized, giving added confidence in market turns.
Bar Coloring: Automatically paints bars to match current market bias (bullish or bearish), highlighting moments of structural change for quicker response.
How it Helps Traders
Clarifies Trend Structure: Makes it simple to distinguish trend direction and strength at a glance, improving timing and confidence in trade decisions.
Ideal for Strategy Building: Supports a variety of market-structure-based trading strategies, such as trend continuation, reversal setups, and breakout confirmations.
Saves Analysis Time: Automates the complex process of marking and tracking price swings, so you can focus on execution and risk management.
This indicator offers powerful market structure visualization and analysis, suited for all levels of traders and especially those who use price-action and swing-based systems (Supply & Demand).
What the Indicator Does
Automatically plots a ZigZag line following swing highs and lows, filtered by a customizable look-back length, helping to remove minor “noise” and highlight true structural pivots.
Labels each significant high or low as HH, HL, LH, or LL, enabling instant recognition of bullish or bearish market conditions.
Distinguishes structural shifts (“Break of Structure,” or BOS) with optional colored bar backgrounds for enhanced visual clarity when trends change.
Offers flexible controls over line color, width, label visibility and size, making it adaptable for different charting styles and timeframes.
Features and Customization
ZigZag Settings: Choose your preferred length and visual styling to fine-tune swing detection, with the ability to show or hide zigzag lines and adjust colors and thickness.
Labeling Structure: Toggle on/off the display of HH/HL/LH/LL labels, with customizable text size, helping you focus on the information relevant to your strategy.
Breakout Confirmation (Fib Factor): Integrates Fibonacci factor logic for validating when a breakout (BOS) should be recognized, giving added confidence in market turns.
Bar Coloring: Automatically paints bars to match current market bias (bullish or bearish), highlighting moments of structural change for quicker response.
How it Helps Traders
Clarifies Trend Structure: Makes it simple to distinguish trend direction and strength at a glance, improving timing and confidence in trade decisions.
Ideal for Strategy Building: Supports a variety of market-structure-based trading strategies, such as trend continuation, reversal setups, and breakout confirmations.
Saves Analysis Time: Automates the complex process of marking and tracking price swings, so you can focus on execution and risk management.
This indicator offers powerful market structure visualization and analysis, suited for all levels of traders and especially those who use price-action and swing-based systems (Supply & Demand).
發行說明
Change in Color Settings受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。