OPEN-SOURCE SCRIPT
Natal & Transit Planetary Aspect Table

📐 Natal & Transit Planetary Aspect Table
This open-source TradingView indicator displays a customizable table of astrological aspects between natal (first trade or custom date) planetary positions and current/live transits. Built in Pine Script v6, it leverages the AstroLib library for accurate geocentric or heliocentric longitude calculations, supporting a range of financial assets and historical events. Ideal for astro-finance enthusiasts, it highlights major and minor aspects with orbs, applying/separating status, and color-coded visuals. Supports 10 planetary bodies in geocentric mode (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto) or 11 in heliocentric mode (adds Earth).
Why Use This Indicator?
Astrology offers a unique lens for market analysis by examining planetary alignments relative to an asset's "birth" date (e.g., first trade), potentially revealing cycles, trends, and timing insights that complement technical and fundamental strategies. This tool empowers traders to integrate astro-finance principles, visualizing cosmic influences that may correlate with price movements, reversals, or volatility—backed by historical presets and customizable options for personalized research.
Key Features:
- 23 preset natal dates for assets like BTC, ETH, NYSE, and more (e.g., BTC genesis block on 2009-01-03), with credits to Susan Abbott Gidel for most of the first trade dates from her book "Trading In Sync With Commodities: Introducing Astrology To Your Technical Toolbox."
- Manual natal and transit timestamp inputs for flexibility.
- Supports geocentric (default) or heliocentric views (displayed as 𝒢 or ℋ in the table), with adjustable observer location (latitude, longitude, timezone).
- Configurable aspects: Conjunction (☌), Opposition (☍), Trine (△), Square (□), Sextile (⚹), and minors like Semi-Sextile (⚺), Quincunx (⚻), etc., with user-defined orbs and colors.
- Applying (a) or separating (s) status is determined by comparing the orb on the current bar to the previous one—if decreasing, applying; if increasing, separating. This simplified approach may differ from traditional astrological methods that consider planetary speeds, directions (direct/retrograde), and which body is faster/slower.
- Table displays planet symbols or names, degrees/signs with tooltips showing exact longitude (e.g., hovering over a planet symbol reveals its precise degree), and aspect symbols/tags (e.g., ⚹a for applying sextile).
- Tooltip on the dates cell to view the exact transit and natal dates for easy tracking.
- Live mode updates with chart timeframe; test mode allows the user to move the transit date historically or to the future via a custom timestamp.
- Customizable table position, text size, colors, and visibility.
How to Use:
1. Add the indicator to your TradingView chart.
2. Select a preset or manual natal date in settings.
3. Choose live transits or test mode with a custom timestamp.
4. Enable/disable aspects and adjust orbs/colors as needed.
5. Hover over cells for detailed tooltips (e.g., exact orb and applying/separating status).
Powered by BarefootJoey AstroLib for ephemeris data. For best accuracy, verify positions against external sources.
This open-source TradingView indicator displays a customizable table of astrological aspects between natal (first trade or custom date) planetary positions and current/live transits. Built in Pine Script v6, it leverages the AstroLib library for accurate geocentric or heliocentric longitude calculations, supporting a range of financial assets and historical events. Ideal for astro-finance enthusiasts, it highlights major and minor aspects with orbs, applying/separating status, and color-coded visuals. Supports 10 planetary bodies in geocentric mode (Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto) or 11 in heliocentric mode (adds Earth).
Why Use This Indicator?
Astrology offers a unique lens for market analysis by examining planetary alignments relative to an asset's "birth" date (e.g., first trade), potentially revealing cycles, trends, and timing insights that complement technical and fundamental strategies. This tool empowers traders to integrate astro-finance principles, visualizing cosmic influences that may correlate with price movements, reversals, or volatility—backed by historical presets and customizable options for personalized research.
Key Features:
- 23 preset natal dates for assets like BTC, ETH, NYSE, and more (e.g., BTC genesis block on 2009-01-03), with credits to Susan Abbott Gidel for most of the first trade dates from her book "Trading In Sync With Commodities: Introducing Astrology To Your Technical Toolbox."
- Manual natal and transit timestamp inputs for flexibility.
- Supports geocentric (default) or heliocentric views (displayed as 𝒢 or ℋ in the table), with adjustable observer location (latitude, longitude, timezone).
- Configurable aspects: Conjunction (☌), Opposition (☍), Trine (△), Square (□), Sextile (⚹), and minors like Semi-Sextile (⚺), Quincunx (⚻), etc., with user-defined orbs and colors.
- Applying (a) or separating (s) status is determined by comparing the orb on the current bar to the previous one—if decreasing, applying; if increasing, separating. This simplified approach may differ from traditional astrological methods that consider planetary speeds, directions (direct/retrograde), and which body is faster/slower.
- Table displays planet symbols or names, degrees/signs with tooltips showing exact longitude (e.g., hovering over a planet symbol reveals its precise degree), and aspect symbols/tags (e.g., ⚹a for applying sextile).
- Tooltip on the dates cell to view the exact transit and natal dates for easy tracking.
- Live mode updates with chart timeframe; test mode allows the user to move the transit date historically or to the future via a custom timestamp.
- Customizable table position, text size, colors, and visibility.
How to Use:
1. Add the indicator to your TradingView chart.
2. Select a preset or manual natal date in settings.
3. Choose live transits or test mode with a custom timestamp.
4. Enable/disable aspects and adjust orbs/colors as needed.
5. Hover over cells for detailed tooltips (e.g., exact orb and applying/separating status).
Powered by BarefootJoey AstroLib for ephemeris data. For best accuracy, verify positions against external sources.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。