OPEN-SOURCE SCRIPT

Moon Phases Final

93
Moon Phases Visualizer [Gemini Edition]DescriptionThis script is a comprehensive tool for traders who incorporate lunar cycles into their analysis. Unlike many basic indicators, this one is optimized for Pine Script v6 and utilizes a precise astronomical calculation based on the synodic month cycle ($29.53059$ days).The indicator helps identify potential "turn window" periods often associated with New Moons and Full Moons in financial astrology and cyclical analysis.Key FeaturesDual Visualization: Displays a smooth lunar cycle oscillator ($0-100\%$) in a separate pane while simultaneously plotting phase labels directly on the price chart.Smart Overlays: Using the latest force_overlay technology, the script keeps your price scale clean while showing Moon emojis (🌕/🌑) and an info table in the main area.Real-time Tracking: An elegant dashboard in the top-right corner shows the current phase percentage and status at a glance.Full Moon & New Moon Alerts: Visual signals are generated at the exact peak of the cycle, making it easy to spot historical correlations with price reversals or volatility spikes.How to read it:🌕 Full Moon (50%): Often associated with high volatility or local price extremes.🌑 New Moon (0%/100%): Often marks the beginning of a new cycle or a potential trend exhaustion.The Curve: Watch the oscillator to anticipate approaching lunar events before they happen.Technical DetailsThe calculation is anchored to a high-precision historical New Moon timestamp (January 6, 2000), ensuring the phase accuracy remains consistent even when scrolling back through years of historical data.

Disclaimer: This indicator is for educational and entertainment purposes only. Lunar cycles are a part of financial astrology and cyclical analysis, but they should not be used as a standalone signal for trading. Past performance does not guarantee future results. Always use proper risk management and combine this tool with other technical or fundamental analysis methods. Not financial advice.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.