OPEN-SOURCE SCRIPT

Obsidians Gold Revenge

70
Many traders (including institutional desks) track lunar cycles on Gold (XAUUSD) because of the psychological impact on market sentiment. The common theory—often attributed to methods like Gann analysis—is:
​🌑 New Moon: Often correlates with Market Bottoms (Buy Signals) or "New Beginnings."
​🌕 Full Moon: Often correlates with Market Tops (Sell Signals) or "Exhaustion."
​Here is a script that mathematically calculates the Moon Phase based on the lunar synodic month (approx. 29.53 days). It will plot these events on your chart so you can visually backtest if Gold respects these cycles.
How to use this for testing
​Add it to your Chart: Apply it to the XAUUSD (Gold) chart.
​Timeframe: This works best on 4-Hour (4H) or Daily (1D) charts. (On 15m charts, the moon phase covers many candles, so the label will appear on the specific candle where the phase officially "switched").
​What to look for:
​Look at the Dark Blue (New Moon) areas. Did price form a bottom or start a rally there?
​Look at the Yellow (Full Moon) areas. Did price peak and reverse downward there?
​Note: Lunar cycles are considered a "timing tool" rather than a directional indicator. They often indicate when a reversal might happen, but you should combine this with your Institutional Candle zones to confirm the direction!

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.