INVITE-ONLY SCRIPT

Double-Numbered Hexagon Price and Time Chart

139
⬢️ Double-Numbered Hexagon Price and Time Chart ⬢️


Overview
The Double-Numbered Hexagon Price and Time Chart is an advanced overlay indicator for TradingView that fuses William D. Gann’s geometric principles with modern charting tools. Inspired by the work of Patrick Mikula in Gann’s Scientific Methods Unveiled (Volumes 1 & 2), this tool reimagines Gann’s hexagonal number spirals—where market price and time unfold within a structured 360° framework.

This indicator constructs a dynamic, double-numbered hexagonal grid expanding from a central seed. Users can anchor from a price high or low, or override with a manual seed to start the chart from any desired value. As prices progress or regress from this origin, the chart plots swing pivots directly onto the hexagonal grid, allowing users to assess whether historical highs and lows align with key angles. The grid displays 12 angular spokes (0° to 330° in 30° steps) by default, and users can highlight any single angle, which applies a color-coded emphasis to both the spoke and its corresponding horizontal levels—helping reveal potential support, resistance, and geometric symmetry.

It supports automatic detection of pivots, live tracking of current price within the grid, and detailed display customizations—making it ideal for Gann-style geometric analysis, pivot-based strategies, and time/price harmonic research.

---

Key Features

* Hexagonal Spiral Structure: Constructs a grid of expanding rings from a central price seed, with each cell aligned to a 360° angular framework (in 30° increments).

* Anchor Customization: Seed from a bar's high/low using a selected timestamp, or override with a manual starting value.

* Increment/Decrement Control: Define step size for upward progression (positive) or downward regression (negative).

*Angle Highlighting and Lines: Select from 12 angles (0° to 330°) to highlight hexagon spokes and project price lines from the anchor.

* Swing Pivot Detection: Automatically identifies post-anchor highs/lows using `ta.pivothigh/low` logic with user-defined left/right bars.

* Real-Time Close Highlight: Dynamically marks the cell closest to the current close (unconfirmed bars).

* Display Customization: Control cell size, text size, table position, colors, and label visibility.

* Pivot Label Options: Show/hide labels for swing highs/lows with full color control.

* Rounding Precision: Set decimal places for all displayed values.

---

How to Use

1. Add to Chart: Apply the indicator as an overlay on your preferred symbol and timeframe.

2. Set the Anchor:
* Select anchor date/time using the calendar icon.
* Choose price source (High or Low).
* Set rounding to match instrument precision.

3. Configure Hexagon:
* Set number of rings to expand the grid.
* Define increment (positive or negative).
* Enable time index values for time-based sequencing.

4. Manual Override (Optional):
* Enable manual mode and input custom seed value.

5. Customize Display:
* Adjust cell and text sizes, table position, and color themes.

6. Angle Settings:
* Choose any angle (e.g., 90°) to highlight spokes and draw horizontal lines from anchor price.

7. Swing Pivots:
* Configure pivot detection using left/right bar settings.
* Toggle pivot label visibility.

8. Interpretation:
* Center cell = anchor price.
* Rings = stepped price levels.
* Spokes = geometric angles for support/resistance.
* Highlighted pivots = potential alignment zones.
* Real-time cell = current price’s position in the grid.

---

Methodology
The indicator uses hexagonal math to plot a spiral of price levels outward from a seed, calculated with degree-based geometry and coordinates. Pivots are identified using built-in TradingView functions and color-coded based on user settings. Angle highlights represent key 30° divisions for price projection.

This tool reinterprets Gann’s spiral and double-numbered techniques without astrological overlays, offering a modern and interactive way to explore time/price relationships geometrically.

---

Limitations and Notes

* Real-Time Behavior: Close highlight updates on unconfirmed bars; locks on candle close.
* Not a Signal Generator: This is a Gann research and visualization tool. Past confluences do not guarantee future outcomes. Use with proper strategy and risk management.
* Future Updates: More features may be added pending feedback and TradingView approval.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.