OPEN-SOURCE SCRIPT
Moon VWAP

Moon VWAP (MAVWAP) overlays anchored VWAP (AVWAP) segments that reset on calendar-based anchors you choose—primarily every New Moon (and optionally Full Moon), plus optional anchors for Mercury retrograde start, Venus retrograde start, Total Lunar Eclipse (TLE), Total Solar Eclipse (TSE), and a regime-flip anchor derived from your scripted eclipse rules.
What you get
Lunar markers: New Moon and Full Moon events (UTC), with styling options including August New Moon emphasis and optional ±day background tint around New Moons.
Retrograde context: Mercury (and optional Venus) retrograde start/end markers, optional in-span shading, optional shadow shading, and optional “open at Rx start” reference.
Eclipse markers: Total (and optional partial) lunar/solar eclipse marks.
Optional regime backdrop: Background tinting for a lunar-cycle vs solar-cycle interpretation (user-configurable rules in the inputs).
AVWAP suite: Separate toggles/colors for VWAP segments anchored to the events above—useful for tracking how price behaves from each anchor forward.
How to use
Pick which anchors matter for your process (most users start with New Moon AVWAP).
Choose marker style (emoji-only vs vertical lines) for a cleaner chart.
If something looks off vs your reference almanac, confirm the underlying UTC tables against your preferred astronomical source—this tool is for visual context, not a guarantee of timing precision on every feed.
Disclaimer: For education and research only. Not financial advice. Past performance does not guarantee future results. Astronomical/astrological cycle overlays are discretionary; verify critical dates independently.
What you get
Lunar markers: New Moon and Full Moon events (UTC), with styling options including August New Moon emphasis and optional ±day background tint around New Moons.
Retrograde context: Mercury (and optional Venus) retrograde start/end markers, optional in-span shading, optional shadow shading, and optional “open at Rx start” reference.
Eclipse markers: Total (and optional partial) lunar/solar eclipse marks.
Optional regime backdrop: Background tinting for a lunar-cycle vs solar-cycle interpretation (user-configurable rules in the inputs).
AVWAP suite: Separate toggles/colors for VWAP segments anchored to the events above—useful for tracking how price behaves from each anchor forward.
How to use
Pick which anchors matter for your process (most users start with New Moon AVWAP).
Choose marker style (emoji-only vs vertical lines) for a cleaner chart.
If something looks off vs your reference almanac, confirm the underlying UTC tables against your preferred astronomical source—this tool is for visual context, not a guarantee of timing precision on every feed.
Disclaimer: For education and research only. Not financial advice. Past performance does not guarantee future results. Astronomical/astrological cycle overlays are discretionary; verify critical dates independently.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.