OPEN-SOURCE SCRIPT

Moon Phases/Apogee & Perigee/Eclipses/North Node by BT

Updated
This script helps us to display date of different lunar properties on price chart. Simply following items could be used to see dates.
  • New moon
  • Full moon
  • Apogee
  • Perigee
  • North node


I've used following web site (fourmilab.ch) for obtaining exact dates, according to web site "All dates and times are Universal time (UTC); to convert to local time add or subtract the difference between your time zone and UTC"

Release Notes
Added Lunar and Solar Eclipses (dates are from timeanddate.com) and minor bug fix about colors
Release Notes
Added ability to change colors of lines
Release Notes
Updated moon phases (new moon, full moon, apogee, perigee, lunar and solar eclipses) between 2015 - 2020 for back testing and North Node between 2010 - 2031
Release Notes
Updated following items until end of 2028
* Lunar new moon, full moon
* Apogee and Perigee
apogeeCyclesforecastinglunarlunar_cycleslunar_eclipseperigee

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer