OPEN-SOURCE SCRIPT

Structure Lite - Automatic Major Trend Lines

202
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

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.