PROTECTED SOURCE SCRIPT
Willy ORB for Gold – Session Presets (NY 5m)

What it does:
Plots the opening-range high/low for the main Gold sessions (Shanghai, Tokyo, Sydney, Frankfurt, London, New York 5-minute OR by default). It projects TP1/TP2 expansion targets, supports a timezone offset so opens line up with your broker, and includes breakout alerts on confirmed closes.
⸻
Why it’s Gold-friendly
• New York (COMEX pit): 5-minute opening range at ~20:20 local (via your offset) to capture the most active burst.
• London / Frankfurt: strong European volatility windows for XAU/USD.
• Shanghai / Tokyo / Sydney: structure-setting sessions before momentum builds.
⸻
Features
• Session presets: SH, TK, SY, FR, LDN, NY (5m) — toggle individually
• 15m OR for all sessions except NY (5m) by default (editable per session)
• TP1 / TP2 expansion targets (user-defined multiples)
• Labels for 15m/5m range and targets; customizable styles
• Timezone offset control (aligns lines to your local clock)
• Daily auto-reset for clean levels
• Alerts: “Closed Above Range High” / “Closed Below Range Low” per session
⸻
How to use
1. Add to chart (best on 1–15m).
2. In settings → Gold Sessions, toggle the sessions you want.
3. Set “My time offset from chart (hours)” so session lines match your broker time.
4. Trade the breakouts: when price closes beyond the session high/low, TP levels plot automatically.
⸻
Parameters (quick guide)
• Targets: TP1/TP2 multiples (e.g., 1.0 and 2.0).
• Labels: left/right label placement, line styles/colors.
• Sessions: enable/disable + choose each session’s OR length (NY defaults to 5m).
⸻
Tips for XAU/USD
• London often gives the cleanest first breakout.
• New York tends to drive continuation after data releases.
• Consider pairing with volume/volatility or HTF trend for confluence.
⸻
Notes
• Built in Pine Script v6.
• Indicator (not a strategy). For backtests, use a companion strategy that trades the closes beyond the OR with SL at the opposite side and TP by R.
⸻
Disclaimer
For educational purposes only. Not financial advice. Always backtest and manage risk.
Plots the opening-range high/low for the main Gold sessions (Shanghai, Tokyo, Sydney, Frankfurt, London, New York 5-minute OR by default). It projects TP1/TP2 expansion targets, supports a timezone offset so opens line up with your broker, and includes breakout alerts on confirmed closes.
⸻
Why it’s Gold-friendly
• New York (COMEX pit): 5-minute opening range at ~20:20 local (via your offset) to capture the most active burst.
• London / Frankfurt: strong European volatility windows for XAU/USD.
• Shanghai / Tokyo / Sydney: structure-setting sessions before momentum builds.
⸻
Features
• Session presets: SH, TK, SY, FR, LDN, NY (5m) — toggle individually
• 15m OR for all sessions except NY (5m) by default (editable per session)
• TP1 / TP2 expansion targets (user-defined multiples)
• Labels for 15m/5m range and targets; customizable styles
• Timezone offset control (aligns lines to your local clock)
• Daily auto-reset for clean levels
• Alerts: “Closed Above Range High” / “Closed Below Range Low” per session
⸻
How to use
1. Add to chart (best on 1–15m).
2. In settings → Gold Sessions, toggle the sessions you want.
3. Set “My time offset from chart (hours)” so session lines match your broker time.
4. Trade the breakouts: when price closes beyond the session high/low, TP levels plot automatically.
⸻
Parameters (quick guide)
• Targets: TP1/TP2 multiples (e.g., 1.0 and 2.0).
• Labels: left/right label placement, line styles/colors.
• Sessions: enable/disable + choose each session’s OR length (NY defaults to 5m).
⸻
Tips for XAU/USD
• London often gives the cleanest first breakout.
• New York tends to drive continuation after data releases.
• Consider pairing with volume/volatility or HTF trend for confluence.
⸻
Notes
• Built in Pine Script v6.
• Indicator (not a strategy). For backtests, use a companion strategy that trades the closes beyond the OR with SL at the opposite side and TP by R.
⸻
Disclaimer
For educational purposes only. Not financial advice. Always backtest and manage risk.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.