OPEN-SOURCE SCRIPT
Yearly Gann Box

Yearly Gann Box (Structural Crypto, 0↔0.618)
This indicator projects a full-year structural Gann framework using the previous year's price range as the foundational measurement. The prior year's low-to-high range is mapped into a geometric 0 ↔ 0.618 scaling model and extended into the current trading year.
The script creates both bullish and bearish yearly Gann structures with synchronized price and time divisions, allowing traders to analyze long-term market geometry, timing relationships, and structural reaction zones.
The framework is designed for macro market analysis, cycle observation, and identifying potential areas of expansion, compression, support, resistance, and directional transitions.
Core Features
Uses previous yearly high and low as the base measurement
Projects the structure across the current calendar year
Separate Bull and Bear structural boxes
Fibonacci/Gann-based ratio mapping
Time and price synchronization
Primary and midpoint diagonal structures
Optional geometric mesh overlay
Automatic yearly reset and recalculation
Optimized object management for TradingView limits
Included Ratio Levels
The script plots the following structural levels:
0
0.25
0.382
0.5
0.618
0.75
1
1.272
These levels are projected both horizontally (price) and vertically (time), forming a synchronized Gann-style grid.
Structural Components
Bull Structure
The bullish framework expands upward from the previous year's low using the 0 ↔ 0.618 mapping model.
Bear Structure
The bearish framework expands downward from the previous year's high using the inverse mapping model.
Primary Diagonals
The indicator draws major corner-to-corner diagonals representing dominant structural balance lines.
Midpoint Diagonals
Additional midpoint diagonals divide the structure into secondary geometric relationships.
Background Mesh
Optional full-grid mesh projection for advanced structural and geometric analysis.
Customization Options
Users can independently control:
Bull Box visibility
Bear Box visibility
Labels
Background mesh
Border thickness
Level line thickness
Diagonal thickness
Mesh thickness
Intended Use
This indicator is designed for traders who study:
Gann geometry
Market structure
Time-price symmetry
Cycle analysis
Long-term crypto market behavior
Structural expansion and contraction zones
It is best used on higher timeframes where yearly structural relationships become more meaningful.
Notes
The indicator recalculates automatically at the start of each new year.
Structures are based entirely on the previous yearly candle.
Time divisions are normalized to the 1.272 structural expansion.
Designed primarily for overlay analysis rather than direct trade signals.
This indicator projects a full-year structural Gann framework using the previous year's price range as the foundational measurement. The prior year's low-to-high range is mapped into a geometric 0 ↔ 0.618 scaling model and extended into the current trading year.
The script creates both bullish and bearish yearly Gann structures with synchronized price and time divisions, allowing traders to analyze long-term market geometry, timing relationships, and structural reaction zones.
The framework is designed for macro market analysis, cycle observation, and identifying potential areas of expansion, compression, support, resistance, and directional transitions.
Core Features
Uses previous yearly high and low as the base measurement
Projects the structure across the current calendar year
Separate Bull and Bear structural boxes
Fibonacci/Gann-based ratio mapping
Time and price synchronization
Primary and midpoint diagonal structures
Optional geometric mesh overlay
Automatic yearly reset and recalculation
Optimized object management for TradingView limits
Included Ratio Levels
The script plots the following structural levels:
0
0.25
0.382
0.5
0.618
0.75
1
1.272
These levels are projected both horizontally (price) and vertically (time), forming a synchronized Gann-style grid.
Structural Components
Bull Structure
The bullish framework expands upward from the previous year's low using the 0 ↔ 0.618 mapping model.
Bear Structure
The bearish framework expands downward from the previous year's high using the inverse mapping model.
Primary Diagonals
The indicator draws major corner-to-corner diagonals representing dominant structural balance lines.
Midpoint Diagonals
Additional midpoint diagonals divide the structure into secondary geometric relationships.
Background Mesh
Optional full-grid mesh projection for advanced structural and geometric analysis.
Customization Options
Users can independently control:
Bull Box visibility
Bear Box visibility
Labels
Background mesh
Border thickness
Level line thickness
Diagonal thickness
Mesh thickness
Intended Use
This indicator is designed for traders who study:
Gann geometry
Market structure
Time-price symmetry
Cycle analysis
Long-term crypto market behavior
Structural expansion and contraction zones
It is best used on higher timeframes where yearly structural relationships become more meaningful.
Notes
The indicator recalculates automatically at the start of each new year.
Structures are based entirely on the previous yearly candle.
Time divisions are normalized to the 1.272 structural expansion.
Designed primarily for overlay analysis rather than direct trade signals.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。