OPEN-SOURCE SCRIPT
Monthly Gann Box

Monthly Gann Box (Structural Crypto, 0↔0.618)
This indicator projects a monthly structural Gann framework using the previous month's price range as the foundational measurement. The prior month's low-to-high range is mapped into a geometric 0 ↔ 0.618 scaling model and projected across the current trading month.
The script generates both bullish and bearish monthly Gann structures with synchronized price and time divisions, allowing traders to study recurring market geometry, timing relationships, expansion zones, and structural reaction areas within the active month.
The framework is designed for swing traders, intraday traders, and market structure analysts seeking a repeatable monthly geometric reference model.
Core Features
Uses previous monthly high and low as the structural base
Projects the structure across the current calendar month
Separate Bull and Bear Gann structures
Fibonacci/Gann-based ratio mapping
Time and price synchronization
Primary diagonal balance lines
Midpoint structural diagonals
Optional geometric mesh overlay
Automatic monthly reset and recalculation
Efficient object handling 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), creating a synchronized structural grid for monthly analysis.
Structural Components
Bull Structure
The bullish framework expands upward from the previous month's low using the 0 ↔ 0.618 mapping model.
Bear Structure
The bearish framework expands downward from the previous month's high using the inverse mapping model.
Primary Diagonals
Major corner-to-corner diagonals visualize dominant structural balance and directional symmetry.
Midpoint Diagonals
Secondary diagonals divide the structure into additional geometric relationships and midpoint reactions.
Background Mesh
Optional full-grid mesh projection for advanced geometric and structural 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 relationships
Monthly cycle behavior
Expansion and compression zones
Structural crypto analysis
Swing and intraday market timing
The framework can be used on both higher and lower timeframes while maintaining monthly structural alignment.
Notes
The indicator recalculates automatically at the start of each new month.
Structures are derived entirely from the previous monthly candle.
Time divisions are normalized using the 1.272 structural expansion.
Designed primarily as a structural and geometric analysis tool rather than a standalone signal generator.
This indicator projects a monthly structural Gann framework using the previous month's price range as the foundational measurement. The prior month's low-to-high range is mapped into a geometric 0 ↔ 0.618 scaling model and projected across the current trading month.
The script generates both bullish and bearish monthly Gann structures with synchronized price and time divisions, allowing traders to study recurring market geometry, timing relationships, expansion zones, and structural reaction areas within the active month.
The framework is designed for swing traders, intraday traders, and market structure analysts seeking a repeatable monthly geometric reference model.
Core Features
Uses previous monthly high and low as the structural base
Projects the structure across the current calendar month
Separate Bull and Bear Gann structures
Fibonacci/Gann-based ratio mapping
Time and price synchronization
Primary diagonal balance lines
Midpoint structural diagonals
Optional geometric mesh overlay
Automatic monthly reset and recalculation
Efficient object handling 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), creating a synchronized structural grid for monthly analysis.
Structural Components
Bull Structure
The bullish framework expands upward from the previous month's low using the 0 ↔ 0.618 mapping model.
Bear Structure
The bearish framework expands downward from the previous month's high using the inverse mapping model.
Primary Diagonals
Major corner-to-corner diagonals visualize dominant structural balance and directional symmetry.
Midpoint Diagonals
Secondary diagonals divide the structure into additional geometric relationships and midpoint reactions.
Background Mesh
Optional full-grid mesh projection for advanced geometric and structural 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 relationships
Monthly cycle behavior
Expansion and compression zones
Structural crypto analysis
Swing and intraday market timing
The framework can be used on both higher and lower timeframes while maintaining monthly structural alignment.
Notes
The indicator recalculates automatically at the start of each new month.
Structures are derived entirely from the previous monthly candle.
Time divisions are normalized using the 1.272 structural expansion.
Designed primarily as a structural and geometric analysis tool rather than a standalone signal generator.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.