OPEN-SOURCE SCRIPT
Updated Price and Longitude Angles

Planetary Price & Longitude Angles Indicator
This indicator plots planetary price and longitude angles starting from a user-selected date and time, offering a distinctive lens to explore the relationship between price and planetary timing. It supports both heliocentric and geocentric, enabling flexible and in-depth planetary analysis. The angles can be plotted across any time frame for maximum versatility.
How to Use
Once the indicator is loaded, you’ll be prompted to select a starting date and time for your analysis. From there, customize it as follows:
Select Planetary Options:
To plot the price and longitude for a single planet, choose the same planet in both dropdown menus.
To plot the average of two planets, select a different planet in each dropdown.
Set the Price Per Degree of Longitude: Adjust this value to define the scaling of the planetary angles relative to price.
Customize Fan Settings:
Toggle the mirroring of the fan on or off based on your needs.
Show or hide specific angle divisions to tailor the display to your preferences.
Display or conceal the information label that indicates the price per longitude and the number of degrees traveled.
[Acknowledgments, Inspiration & Disclaimer]
This indicator is inspired by the methodologies of W.D. Gann and Patrick Mikula, expanding on concepts from Gann Scientific Method Unveiled, Volume 2. It was built using Astrolib by BarefootJoey
I crafted this tool through dedication to support my own study of these ideas. I’m sharing it open-source not only to deepen my understanding and honor the work of Gann and Mikula, but also to invite collaboration. There’s always room for improvement—whether in functionality, accuracy, or design—and I hope others will join me in refining it. This is for those like me: eager to explore these concepts but lacking tools to experiment with. Let’s build on it together.
This indicator plots planetary price and longitude angles starting from a user-selected date and time, offering a distinctive lens to explore the relationship between price and planetary timing. It supports both heliocentric and geocentric, enabling flexible and in-depth planetary analysis. The angles can be plotted across any time frame for maximum versatility.
How to Use
Once the indicator is loaded, you’ll be prompted to select a starting date and time for your analysis. From there, customize it as follows:
Select Planetary Options:
To plot the price and longitude for a single planet, choose the same planet in both dropdown menus.
To plot the average of two planets, select a different planet in each dropdown.
Set the Price Per Degree of Longitude: Adjust this value to define the scaling of the planetary angles relative to price.
Customize Fan Settings:
Toggle the mirroring of the fan on or off based on your needs.
Show or hide specific angle divisions to tailor the display to your preferences.
Display or conceal the information label that indicates the price per longitude and the number of degrees traveled.
[Acknowledgments, Inspiration & Disclaimer]
This indicator is inspired by the methodologies of W.D. Gann and Patrick Mikula, expanding on concepts from Gann Scientific Method Unveiled, Volume 2. It was built using Astrolib by BarefootJoey
I crafted this tool through dedication to support my own study of these ideas. I’m sharing it open-source not only to deepen my understanding and honor the work of Gann and Mikula, but also to invite collaboration. There’s always room for improvement—whether in functionality, accuracy, or design—and I hope others will join me in refining it. This is for those like me: eager to explore these concepts but lacking tools to experiment with. Let’s build on it together.
Release Notes
Improvement: added alerts for Planetary Angles Release Notes
🚀 Release Notes: [Version 2.0]🔐 Licensing Updates
Switched to a dual-licensing model:
Original work is now licensed under CC BY-NC-SA 4.0 (no commercial use, attribution required, must share alike).
AstroLib, BarefootJoey’s code, and HSV/HSL Color Tools by kaigouthro remain under MPL-2.0 for full compliance.
Clarified third-party contributions and ensured compliance with all licensing terms.
🎨 Feature Enhancements
Added HSV coloring from kaigouthro for improved color.
Implemented Heliocentric & Geocentric labeling, allowing users to distinguish planetary coordinate systems on the main label info.
Added optional bar coloring to visually represent underlying planetary longitude, making it easier to spot trends and correlations.
🐞 Fixes & Improvements
Fixed label placements to prevent incorrect or unwanted pivot labels appearing at dateTime.
Refined planetary calculations for smoother data handling and accuracy.
Release Notes
Release Notes — Zodiac Degree Hue Table• Zodiac signs shown once per 30° sector to reduce visual clutter.
• Added left-facing triangle (◀) to dynamically point to the planetary AVG longitude position.
• Color bands mapped using HSV hue logic (via hsvColor library) for full visual consistency.
• New UI settings: Toggle color table visibility and text color styling for cleaner display control.
Release Notes
Fixed low priority bug where disabling the 1x1 Price & Longitude angle also removed the orbital hue bar coloring. Orbital hue is now fully independent of angle visibility.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.