OPEN-SOURCE SCRIPT
Structure Lite - Automatic Major Trend Lines

Structure Lite — Automatic Major Trend Lines
Structure Lite automatically detects and plots major market structure using higher-timeframe pivot highs and lows.
It is designed to provide a clean, lightweight view of primary support and resistance without manual drawing or chart clutter.
This script focuses only on major structure and intentionally excludes short-term noise, advanced liquidity concepts, or signal logic.
Features
Automatically plots major resistance (red) and major support (green) trend lines
Uses higher-period pivots to reflect macro / swing structure
Lines extend right for forward projection
Keeps only the most recent major levels to reduce clutter
Optional toggle to hide all trend lines for a clean chart view
How to Use
Add the indicator to your chart
Adjust Major Pivot Period to control how swing-based the structure is
Higher values = fewer, more important levels
Lower values = more responsive structure
Use the plotted lines to:
Identify higher-timeframe support and resistance
Contextualize price action and trend bias
Toggle Hide All Trend Lines to quickly remove structure without removing the indicator
This tool is intended for context and structure awareness, not trade signals.
Design Philosophy
Structure Lite is intentionally minimal:
No alerts
No buy/sell signals
No predictions
No performance claims
It is built as a foundational structure tool that can be combined with the user’s own methodology.
Notes
Some inputs reference advanced features available in a separate professional version
These options are disabled here and included only for interface consistency
No external links, promotions, or monetization are included in this script
Disclaimer
Educational and informational purposes only.
This script does not provide financial advice or trade recommendations.
Past market behavior does not guarantee future results.
© 2025 GammaBulldog
Structure Lite automatically detects and plots major market structure using higher-timeframe pivot highs and lows.
It is designed to provide a clean, lightweight view of primary support and resistance without manual drawing or chart clutter.
This script focuses only on major structure and intentionally excludes short-term noise, advanced liquidity concepts, or signal logic.
Features
Automatically plots major resistance (red) and major support (green) trend lines
Uses higher-period pivots to reflect macro / swing structure
Lines extend right for forward projection
Keeps only the most recent major levels to reduce clutter
Optional toggle to hide all trend lines for a clean chart view
How to Use
Add the indicator to your chart
Adjust Major Pivot Period to control how swing-based the structure is
Higher values = fewer, more important levels
Lower values = more responsive structure
Use the plotted lines to:
Identify higher-timeframe support and resistance
Contextualize price action and trend bias
Toggle Hide All Trend Lines to quickly remove structure without removing the indicator
This tool is intended for context and structure awareness, not trade signals.
Design Philosophy
Structure Lite is intentionally minimal:
No alerts
No buy/sell signals
No predictions
No performance claims
It is built as a foundational structure tool that can be combined with the user’s own methodology.
Notes
Some inputs reference advanced features available in a separate professional version
These options are disabled here and included only for interface consistency
No external links, promotions, or monetization are included in this script
Disclaimer
Educational and informational purposes only.
This script does not provide financial advice or trade recommendations.
Past market behavior does not guarantee future results.
© 2025 GammaBulldog
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.