Planetary Aspect Lines [PyraTime]The Problem This Solves
Traders utilizing W.D. Gann methodologies and financial astrology often face three major hurdles: manually calculating geocentric planetary aspects across varying timezones, dealing with cluttered charts that obscure price action, and the persistent "Floating Indicator Issue" where graphical lines and labels detach from historical price bars or freeze in mid-air when panning and zooming.
The Solution
PyraTime is a self-contained visual ephemeris built specifically to automate planetary aspect tracking while maintaining strict chart stability. It calculates geocentric mean longitudes for up to three customizable planet pairs, alerts you to exact angular aspects, and anchors all visual data directly to absolute UNIX timestamps. This ensures your astrological analysis remains perfectly aligned with the historical price action, regardless of chart scale.
Key Features:
Predictive HUD Dashboard: A clean, minimal chart overlay that scans forward to project the next upcoming aspect. It provides a live countdown (in days) alongside the calculated directional bias.
Directional Bias System: Instantly gauge the astrological weight of an aspect directly on the chart labels and HUD. The script categorizes Trines and Sextiles as Bullish; Squares, Oppositions, Semi-Squares, and Sesquiquadrates as Bearish; and Conjunctions and Quincunxes as Neutral.
Floating Indicator Protection: We explicitly solved the native TradingView floating object bug. By anchoring all line objects to absolute UNIX timestamps (xloc.bar_time) rather than relative bar indices, and using dynamic vertical positioning for labels, your aspect lines will never detach or float away when scrolling through data.
Layered Aesthetics: Aspects are plotted using a 3-layer overlapping line technique for a clean neon aesthetic without muddying the candles. When an aspect reaches exact status (within 0.1 degrees of the target orb), the visual labels dynamically scale to full opacity to highlight the exact pivot point.
Retrograde Filtering: An optional toggle allows users to automatically suppress aspect alerts and visuals if either planet in a monitored pair is currently moving in retrograde.
Timezone Agnostic: The internal ephemeris engine relies on absolute time data, meaning it synchronizes automatically with your local TradingView clock. No manual UTC offset configurations are required.
How to Use:
Apply the indicator to your chart and open the settings menu.
Select your target planet pairs (e.g., Sun and Mars) and enable any additional pairs you wish to track.
Toggle the specific aspects you want to monitor and adjust your target orbs (degrees of tolerance) based on your trading strategy.
Set standard TradingView alerts to trigger when a confirmed aspect prints on the chart.
Technical Note: This script uses an internal Mean Longitude mathematical engine to calculate planetary positions. This provides fast, self-contained visual performance without relying on external libraries. Traders looking for extreme precision on highly elliptical planets or specific retrograde stations should note there may be slight orb drift compared to a full Swiss Ephemeris array.
Pine Script® göstergesi






















