編輯精選
OPEN-SOURCE SCRIPT

Solar System in 3D [Astro Tool w/ Zodiac]

已更新
Hello Traders and Developers,

I am excited to announce my latest Open Source indicator. At the core, this is a demonstration of PineScript’s capabilities in Rendering 3D Animations, while at the same time being a practical tool for Financial Astrologists.

This 3D Engine dynamically renders all the major celestial bodies with their individual orbits, rotation speeds, polar inclinations and astrological aspects, all while maintaining accurate spatial relationships and perspective.

快照

This is a Geocentric model of the solar system (viewed from the perspective of Earth), since that is what most Astrologists use. Thanks to the AstroLib Library created by BarefootJoey, this model uses the real coordinates of cosmic bodies for every timestamp.

This script truly comes to life when using the “Bar Replay” mode in TradingView, as you can observe the relationships between planets and price action as time progresses, with the full animation capabilities as mentioned above.

In addition to what I have described, this indicator also displays the orbital trajectories for each cosmic body, and has labels for everything. I have also added the ability to hover on all the labels, and see a short description of what they imply in Astrology.


Optional Planetary Aspect Computation

This indicator supports all the Major Planetary Aspects, with an accuracy defined by the user (1° by default).

  • Conjunction: 0° Alignment. This draws a RED line starting from the center, and going through both planets.
  • Sextile: 60° Alignment. This draws three YELLOW lines, connecting the planets to each other and to the center.
  • Square: 90° Alignment. This draws three BLUE lines, connecting the planets to each other and to the center.
  • Trine: 120° Alignment. This draws three PURPLE lines, connecting the planets to each other and to the center.
  • Opposition: 180° Alignment. This draws a GREEN line starting from one planet, passing through the center and ending on the second planet.


The below image depicts a Top-Down view of the system, with the Moon in Opposition to Venus and with Mars in Square with Neptune.

快照



Retrograde Computation

This indicator also displays when a planet enters Retrograde (Apparent Backward Motion) by making its orbital trajectory dashed and the planet name getting a red background.

The image below displays an example of Jupiter, Saturn, Neptune and Pluto in Retrograde Motion, from the camera perspective of a 65 degree inclination.

快照



Optional Zodiac Computation (Tropical and Sidereal)

Zodiac represents the relatively stationary star formations that rest along the ecliptic plane, with planets transitioning from one to the next, each with a 30° separation (making 12 in total). I have implemented the option to switch between Tropical mode (where these stars were 2,000 years ago) and Sidereal (where these stars are today).

The image below displays the Zodiac labels with clear lines denoting where each planet falls into.

快照



While this indicator is deployed in a separate pane, it is trivial to transfer it onto your price chart, just by clicking and dragging the graphics. After that, you can adjust the visuals by dragging the scale on the side, or optimizing model settings. You can also drag the model above or below the price, as shown in the following image:

快照


Of course, there are a lot of options to customize this planetary model to your tastes and analytical needs. Aside from visual changes for the labels, colors or resolution you can also disable certain planets that don’t meet your needs as shown below:

快照


Once can also infer the current lunar phases using the Aspects between the Sun and Moon. When the Moon is Opposite the Sun that is a Full Moon, while when they are Conjunct that is a New Moon (and sometimes Eclipse).

—---------------------------------------------------------------------------

I have made this indicator open source to help PineScript programmers understand how to approach 3D graphics rendering, enabling them to develop ever more capable scripts and continuously push the boundaries of what's possible on TradingView.

The code is well documented with comments and has a clear naming convention for functions and variables, to aid developers understand how everything operates.

For financial astrologists, this indicator offers a new way to visualize and correlate planetary movements, adding depth and ease to astrological market analysis.

Regards,
Hawk
發行說明
This update brings several new functionalities and options to customize the visuals.

The primary upgrade is the Natal Chart Functionality, that allows the user to select the inception date of an asset, and displays those additional planets for deeper analysis. By default, you will see the Bitcoin Natal Planets on the outer perimeter in blue.

I have implemented the option to calculate planetary aspects between the real-time and natal planets as well.

快照

For those that prefer selecting a specific date for the regular solar model instead of using Bar Replay, I have also added the ability to do so.

In regards to the visual modifications, users now have the ability to collapse all the planets into a single orbit, and manually regulate this orbit distance (smaller orbits take up less space on the chart). This can be done both for Live and Natal planets.

Furthermore, I have also added the options to hide Earth and change the Natal planets from 3D Objects to Labels. This can be utilized both for aesthetic and performance purposes.

Below you can see the following aspects, using the new “Aligned Orbit” mode:

  • Mars being in Opposition to BTC Mars
  • Pluto being in Conjunction to BTC Jupiter
  • Jupiter being in Square with BTC Uranus


快照


發行說明
Added Orbs for each of the Aspects instead of a single threshold for all of them. This allows for greater customizability of aspect triggers.
3dastroastrologyCyclesFundamental Analysisstatisticszodiac

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


Discord: discord.gg/zwmaKKPsTg

Hawk Liquidation Theory: medium.com/@FinanceHawk

Algo: tradingview.com/script/1BLhORNz-Alpha-Numerologia-by-Alien-Crew/

Indicator Private Access in Discord.
更多:

免責聲明