OPEN-SOURCE SCRIPT
Swing Guide

Swing Guide
Swing Guide is a clean and beginner-friendly market structure tool designed to help traders read swings, trend shifts and pullback zones directly on the chart.
The script connects important swing highs and swing lows with a simple visual line, then labels each structure point in a clear and intuitive way.
STRUCTURE LABELS
High+ = Higher High
Price made a new high above the previous swing high.
Low+ = Higher Low
A pullback held above the previous swing low.
High- = Lower High
A bounce failed below the previous swing high.
Low- = Lower Low
Price broke below the previous swing low.
These labels help traders quickly understand whether the market is building bullish structure, bearish structure, a possible shift, or a temporary pullback.
WHAT THE INDICATOR SHOWS
• Swing line connecting key market structure points
• Compact High+ / Low+ / High- / Low- structure labels
• Current market condition in the dashboard
• Bullish or bearish structure context
• Last important structure point
• Preferred directional bias
• Current structure-based risk state
DASHBOARD
The dashboard summarizes the current market structure in simple words.
Now
Shows the current market condition, such as Uptrend, Downtrend, Healthy Pullback, Weak Bounce or Possible Reversal.
Structure
Summarizes the broader structure context: Bullish, Bearish, Bullish Shift or Bearish Shift.
Last Point
Shows the latest structure point: New High, Higher Low, Lower High or New Low.
Bias
Gives a simple context reading: Long Preferred, Short Preferred or Wait.
Risk
Highlights the current structure risk, such as Trend Extension, Pullback Zone, Weak Recovery or Breakdown.
MAIN SETTINGS
Swing Sensitivity
Controls how many swing points are detected.
Lower values show more swings and more detail.
Higher values filter out smaller moves and keep the chart cleaner.
Repaint Forming Leg
When enabled, the latest swing leg updates live as price develops. This gives the classic real-time swing guide look, but the last leg can move until the structure is confirmed.
When disabled, the script draws only confirmed swing legs. This reduces movement after printing, but the latest swing may appear with a delay.
Structure Label Transparency
Adjusts how soft or visible the High+ / Low+ / High- / Low- labels appear on the chart.
HOW TO USE
Swing Guide is designed as a visual map of market structure.
It can help traders understand where the market is making higher highs, higher lows, lower highs or lower lows.
A bullish structure is usually built with High+ and Low+ points.
A bearish structure is usually built with High- and Low- points.
A possible structure shift may appear when the market starts breaking the previous sequence of highs and lows.
The dashboard is intended to simplify this reading and provide a quick summary of the current structure.
Swing Guide is a clean and beginner-friendly market structure tool designed to help traders read swings, trend shifts and pullback zones directly on the chart.
The script connects important swing highs and swing lows with a simple visual line, then labels each structure point in a clear and intuitive way.
STRUCTURE LABELS
High+ = Higher High
Price made a new high above the previous swing high.
Low+ = Higher Low
A pullback held above the previous swing low.
High- = Lower High
A bounce failed below the previous swing high.
Low- = Lower Low
Price broke below the previous swing low.
These labels help traders quickly understand whether the market is building bullish structure, bearish structure, a possible shift, or a temporary pullback.
WHAT THE INDICATOR SHOWS
• Swing line connecting key market structure points
• Compact High+ / Low+ / High- / Low- structure labels
• Current market condition in the dashboard
• Bullish or bearish structure context
• Last important structure point
• Preferred directional bias
• Current structure-based risk state
DASHBOARD
The dashboard summarizes the current market structure in simple words.
Now
Shows the current market condition, such as Uptrend, Downtrend, Healthy Pullback, Weak Bounce or Possible Reversal.
Structure
Summarizes the broader structure context: Bullish, Bearish, Bullish Shift or Bearish Shift.
Last Point
Shows the latest structure point: New High, Higher Low, Lower High or New Low.
Bias
Gives a simple context reading: Long Preferred, Short Preferred or Wait.
Risk
Highlights the current structure risk, such as Trend Extension, Pullback Zone, Weak Recovery or Breakdown.
MAIN SETTINGS
Swing Sensitivity
Controls how many swing points are detected.
Lower values show more swings and more detail.
Higher values filter out smaller moves and keep the chart cleaner.
Repaint Forming Leg
When enabled, the latest swing leg updates live as price develops. This gives the classic real-time swing guide look, but the last leg can move until the structure is confirmed.
When disabled, the script draws only confirmed swing legs. This reduces movement after printing, but the latest swing may appear with a delay.
Structure Label Transparency
Adjusts how soft or visible the High+ / Low+ / High- / Low- labels appear on the chart.
HOW TO USE
Swing Guide is designed as a visual map of market structure.
It can help traders understand where the market is making higher highs, higher lows, lower highs or lower lows.
A bullish structure is usually built with High+ and Low+ points.
A bearish structure is usually built with High- and Low- points.
A possible structure shift may appear when the market starts breaking the previous sequence of highs and lows.
The dashboard is intended to simplify this reading and provide a quick summary of the current structure.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Trading tools by MarketStructureLab. Professional indicators, algorithms & market structure logic. Get access: marketstructurelab.com
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Trading tools by MarketStructureLab. Professional indicators, algorithms & market structure logic. Get access: marketstructurelab.com
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。