OPEN-SOURCE SCRIPT

Lunar Cycles Projected Forward; Moon phases into future

Updated
Projecting Lunar Cycles/ half-cycles forward in time

User sets the recent Full moon in history to anchor from; Indicator projects 1/2 cycles forward in time

//inputs//
-input number of full lunar cycles to project forward from input full moon time
-choose color/opacity/border color/text display
Release Notes
-Added Moon emojis for Full and New moon. Toggle on/off.
Release Notes
-Updated to show optional Quarter Cycles & Labels
-Added Box Height parameter
-Adjusted input Timestamp timezone for upcoming daylight savings
Release Notes
-Updated default recent full moon timestamp; happily it falls on a Tuesday this time so this should reliably anchor&plot on Indices/Commodities as well as Bitcoin
Release Notes
-update to last full moon (07:38am UTC-4, rounded to 8:00am UTC-4)
Release Notes
-update to last full moon July 3rd 2023 (07:38am UTC-4, rounded to 8:00am UTC-4)
Release Notes
-Change to time condition: User can now input specific time and moon phase boxes will start painting on the first bar after this time.
-NB: if full moon time falls significantly outside of your asset's trading hours (i.e. Early Sunday morning for S&P) then choose the next prior full moon time that falls within trading hours and extend projections further forward in time.
Release Notes
Updated to last Full moon time: 23 May 2024 09:53 GMT-4 (New York time)
Cycleslunarlunar_cyclesmooncycleMoon Phases

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?


You can buy me a coffee here...

PayPal.Me/twingall
BTC: 3JrhUwNRnKyqhaa1n1AXKeAubNeEFoch6S
ETH erc20: 0x4b0400B1c18503529ab69611e82a934DDe4Ab038
ETH bep20: 0x1F0f03F184079bb1085F8C9dF3a8191C9f5869B3

Disclaimer