Moon Phases

Moon Phases
Indicator

SessionsOn the price chartFree on ChartLabs

Moon Phases shades the chart from new moon to full moon and back, and marks each phase on the bar whose time is at or before that instant.

Phase times from Jean Meeus, Astronomical Algorithms, 2nd ed. (1998), chapter 49, with Delta T from Espenak and Meeus, NASA/TP-2006-214141. Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AIMoon Phaseschartlabs.co/charts
Atlas reads it

Daily example. Blue bands are a growing moon, grey bands a waning one. Yellow dots are full moons.

18 moon marks

Atlas reads it

Daily example. Blue bands are a growing moon, grey bands a waning one. Yellow dots are full moons.

18 moon marks

Illustration on simulated data.

Moon PhasesWhat is the Moon Phases indicator?

There is no length and no price output. The marks come from the clock. A phase is pinned to the last bar whose time is at or before that instant. The growing shade runs from a new moon to the next full moon. The waning shade runs from a full moon to the next new moon, or to the last bar if the next phase is still ahead.

A new-moon mark sits on that bar's high. A full-moon mark sits on that bar's low. Growing shade is rgba(0,41,252,0.1), waning shade is rgba(120,123,134,0.15), the full-moon disc is #fbc02d and the new-moon disc is #787b86.

Every switch defaults to on. Both discs are 14 px, and each size runs from 1 to 40. This page does not name a sample moon date. The instants are computed when the chart loads.

No price line

The kernel has no value outputs. The shade and the discs are drawing objects on the price chart.

Bar time

The mark uses the last bar at or before the phase. A phase between two bars does not wait for the later one.

Moon Phases signalsFour patterns to know.

1Inconclusive

Growing shade

The span from a new moon to the next full moon is drawn.

2Inconclusive

Waning shade

The span from a full moon toward the next new moon is drawn.

3Inconclusive

New moon on the high

The new-moon disc uses the high of its bar.

4Inconclusive

Full moon on the low

The full-moon disc uses the low of its bar.

Moon Phases formulaHow it is calculated.

bar=last bar at or before the phase time
STEP 1

Take the phase time

New and full moons from Meeus, chapter 49, with the NASA Delta T table.

STEP 2

Pin it to a bar

The last bar whose time is at or before that instant. No price is read.

STEP 3

Shade and mark

Growing from new to full, waning from full to new. New moon on the high, full moon on the low.

Moon Phases settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
Growing moonOnOn or offThe shade from new moon to full moon, rgba(0,41,252,0.1).
Waning moonOnOn or offThe shade from full moon to new moon, rgba(120,123,134,0.15).
Full moon markOnOn or offThe disc on the bar low, #fbc02d.
Full moon mark size141 to 40Disc size in pixels.
New moon markOnOn or offThe disc on the bar high, #787b86.
New moon mark size141 to 40Disc size in pixels.
Setting
Growing moon
Default
On
Range
On or off
What it changes
The shade from new moon to full moon, rgba(0,41,252,0.1).
Setting
Waning moon
Default
On
Range
On or off
What it changes
The shade from full moon to new moon, rgba(120,123,134,0.15).
Setting
Full moon mark
Default
On
Range
On or off
What it changes
The disc on the bar low, #fbc02d.
Setting
Full moon mark size
Default
14
Range
1 to 40
What it changes
Disc size in pixels.
Setting
New moon mark
Default
On
Range
On or off
What it changes
The disc on the bar high, #787b86.
Setting
New moon mark size
Default
14
Range
1 to 40
What it changes
Disc size in pixels.

Moon Phases strategiesUse it in 3 setups.

Keep the shade as a calendar

WhileGrowing moonis on

Traders often leave both shades on so the month is visible behind price. The shade is not a trade.

Use the discs as dates

Ifa disc is onthenthat bar is the phase

The disc names the bar. It does not say the high or the low will hold.

Turn a shade off when it crowds the chart

Ifthe tint hides candlesthenswitch that shade off

Each shade and each disc has its own switch. The sizes stay at 14 unless you change them.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

Moon Phases mistakesCommon mistakes.

Reading the disc as a price signal

The disc is a time mark. A new moon on the high only means that is where the marker is drawn.

Expecting a length setting

There is no period. The only numbers are the two disc sizes, both 14.

Waiting for the next bar

The phase uses the bar already open at that time, not the bar that starts after it.

Moon Phases combinationsPair it with these.

Moon Phases FAQQuestions traders ask.

What are the Moon Phases settings?

Growing moon on, waning moon on, full moon mark on at size 14, new moon mark on at size 14. There is no length and no source.

Where does the disc sit?

New moon on the bar high, full moon on the bar low.

What are the colours?

Growing rgba(0,41,252,0.1), waning rgba(120,123,134,0.15), full moon #fbc02d, new moon #787b86.

Which bar gets the mark?

The last bar whose time is at or before the phase instant.

Does it draw a line?

No. There are no value outputs. Shade and discs only.

Does Moon Phases repaint?

A phase time does not change. A new bar can become the pin only when its time is the last one at or before that instant.

Where do the times come from?

Jean Meeus, Astronomical Algorithms, 2nd edition (1998), chapter 49, and Delta T from Espenak and Meeus, NASA/TP-2006-214141.

Can I hide one phase?

Yes. Each shade and each disc has its own on/off switch.

Related indicatorsMore sessions tools.

All sessions indicators

Try Moon Phases on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
Moon