PROTECTED SOURCE SCRIPT

UTT NEW MOON

501
The script first calculates the day of the year and then uses astronomical formulas to approximate the Moon’s phase at the given time. From these calculations it determines the last Moon phase event and classifies it as either a New Moon (phase +1) or a Full Moon (phase −1).
It adjusts the result so the phase only changes when a new lunar event occurs, then returns two values: the current phase state and a “moonType” that signals when a new event (New or Full Moon) appears.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.