OPEN-SOURCE SCRIPT
更新済

Mikula's Master 360° Square of 12

6 234
Mikula’s Master 360° Square of 12

An educational W. D. Gann study indicator for price and time. Anchor a compact Square of 12 table to a start point you choose. Begin from a bar’s High or Low (or set a manual start price). From that anchor you can progress or regress the table to study how price steps through cycles in either direction.

What you’re looking at:

Zodiac rail (far left): the twelve signs.

Degree rail: 24 rows in 15° steps from 15° up to 360°/0°.

Transit rail and Natal rail: track one planet per rail. Each planet is placed at its current row (℞ shown when retrograde). As longitude advances, the planet climbs bottom → top, then wraps to the bottom at the next sign; during retrograde it steps downward.
Hover a planet’s cell to see a tooltip with its exact longitude and sign (e.g., 152.4° ♌︎). The linked price cell in the grid moves with the planet’s row so you can follow a planet’s path through the zodiac as a path through price.

Price grid (right): the 12×24 Square of 12. Each column is a cycle; cells are stepped price levels from your start price using your increment.

Bottom rail: shows the current square number and labels the twelve columns in that square.

How the square is read

The square always begins at the bottom left. Read each column bottom → top. At the top, return to the bottom of the next column and read up again. One square contains twelve cycles. Because the anchor can be a High or a Low, you can progress the table upward from the anchor or regress it downward while keeping the same bottom-to-top reading order.

Iterate Square (shifting)

Iterate Square shifts the entire 12×24 grid to the next set of twelve cycles.
Square 1 shows cycles 1–12; Square 2 shows 13–24; Square 3 shows 25–36, etc.

Visibility rules

Pivot cells are table-bound. If you shift the square beyond those prices, their highlights won’t appear in the table.

A/B levels and Transit/Natal planetary lines are chart overlays and can remain visible on the table as you shift the square.

Quick use

Choose an anchor (date/time + High/Low) or enable a manual start price.

Set the increment. If you anchored with a Low and want the table to step downward from there, use a negative value.

Optional: pick Transit and Natal planets (one per rail), toggle their plots, and hover their cells for longitude/sign.

Optional: turn on A/B levels to display repeating bands from the start price.

Optional: enable swing pivots to tint matching cells after the anchor.

Use Iterate Square to shift to later squares of twelve cycles.

Examples

These are exploratory examples to spark ideas:

Overview layout (zodiac & degree rails, Transit/Natal rails, price grid)
スナップショット

A-levels plotted, pivots tinted on the table, real-time price highlighted
スナップショット

Drawing angles from the anchor using price & time read from the table
スナップショット

Using a TradingView Gann box along the A-levels to study reactions
スナップショット

Attribution & originality

スナップショット

This script is an original implementation (no external code copied). Conceptual credit to Patrick Mikula, whose discussion of the Master 360° Square of 12 inspired this study’s presentation.

Further reading (neutral pointers)

Patrick Mikula, Gann’s Scientific Methods Unveiled, Vol. 2, “W. D. Gann’s Use of the Circle Chart.”

W. D. Gann’s Original Commodity Course (as provided by WDGAN.com).
No affiliation implied.

License CC BY-NC-SA 4.0 (non-commercial; please attribute @Javonnii and link the original).
Dependency AstroLib by BarefootJoey
Disclaimer Educational use only; not financial advice.
リリースノート
Added license and Banner
リリースノート
Major Update: Library Migration

Changes:

Library Migration
• Migrated from BarefootJoey/AstroLib to BlueprintResearch/lib_ephemeris
• Removed Observer Location inputs (latitude, longitude, timezone) - no longer needed
• Simplified planet longitude function from 25 lines to 3 lines

Improved Retrograde Detection
• Now uses library-based eph.is_retrograde() for accurate retrograde status

Code Organization
• Added section headers throughout for better readability
• Cleaned up spacing and removed debug code
リリースノート
Mikula's Master 360 Degree Square of Twelve - Release Notes

Critical Bug Fix: Reported by RashidIqbal
- Planetary positions now display on closed markets (DJI, etc.)
- Shows the last bar's planetary position by default
- Use "Override transit time" to select the current date on weekends; planetary positions update in real time

Major Bug Fixes
- Fixed label/line stacking during replay mode
- Fixed gray cell trails when a planet moves across the table
- Fixed the A/B diagonal red text that restored immediately

New Features
- Time Increment - Customize count numbers (15 → 15, 30, 45...)
- Count continues properly across square iterations

UI Improvements
- Reorganized settings: 📍 Start Anchor, ⬜ Square Settings
- Simplified pivot inputs to a single number per type

Coming Soon
- Plot individual degrees (0°-360°) as horizontal levels

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。