[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Moon-Phase calculation



PureBytes Links

Trading Reference Links

Re:  Calculation of MOON PHASE, for use as a function in SUPERCHARTS,

Here's another approximate expression for calculating MOON PHASE, which is
simple & fast, and accurate to within approximately 1 day (+/-).

   moon-age = mod( datetojulian(date) - 2 , 29.53 )

( where moon-age =0 at time of new moon, and = 14.77 at time of full moon)

I've found it useful over the years as a function to use in systems studies,
indicators, and show-me or paint-bars,  conditions  etc.)