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
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.