PROTECTED SOURCE SCRIPT

Automatic Ryze Zones v. 2.1.0

13
Automatic Ryze Zones v2.1.0 — Multi-City Sunrise Opening Zones + Mitigation Signals
Automatic Ryze Zones maps the first actionable range at astronomical sunrise for major financial hubs and your own custom city—then watches how price reacts to those zones through the day. It’s built for intraday traders who like session structure, time-based anchors, and objective “tap/mitigation” signals.
What it plots
Sunrise Zone (per city):
At the exact local sunrise minute, the indicator captures the 1-minute candle’s high & low and paints a box that extends right across the session.
Optionally plots a dashed midline (the zone’s midpoint).
Mitigation Arrows (optional):
• ▲ Bullish when price interacts with a city’s zone in a bullish manner
• ▼ Bearish for bearish interactions
Signals are filtered by your choice of wick/close logic and a volatility gate (ATR ratio).
Timing Table:
For each enabled city, an on-chart table shows four equal intervals from sunrise to 22:00 UTC, helping you pre-plan intraday inflection windows.
(Debug) Heights Table:
Optional table listing the captured High/Low used to build each zone.
Cities covered (toggle any on/off)
New York, London, Tokyo, Auckland, Dubai, Rio, Reykjavik, Dallas, plus your Custom City (name + lat/lon).
Each city has its own:
Box color & opacity
“Show box” and “Show midline” toggles
Time-offset override (advanced)
Tip: Use the custom city to track your local market, a specific exchange, or any location you care about.
How it works (under the hood)
Astronomical Sunrise Calculation
For each day and city (lat/lon), the script computes sunrise using standard solar geometry (zenith ≈ 90.83°). This yields sunrise in UTC, then converts to local with the city’s time offset.
Zone Capture at Sunrise
At the exact sunrise minute, the script requests lower-timeframe data via request.security_lower_tf(...) and grabs the 1-minute High/Low. That becomes the zone for that city and day.
Zones Extend Right
The box is created at the sunrise bar and extends to the right for the rest of the session, giving you durable structure to trade around.
Mitigation Logic (signals)
You choose the interaction rule:
Wick: low-into-zone with a bullish candle → ▲; high-into-zone with a bearish candle → ▼
Close: both open & close inside the zone (bullish → ▲ / bearish → ▼)
Wick or Close: combines both checks
A volatility filter controls noise:
ATR_ratio = ATR(1) / ATR(2500) must be greater than your threshold (default 0.25) for the signal to print.
Timing Intervals Table
The time from sunrise → 22:00 UTC is divided into four equal parts per city. The table shows the resulting timestamps to help anticipate rhythm shifts.
Key inputs
Ryze Zone Master Switch — global on/off
Automatic Time Settings
Chart Zones for Today’s Date (true/false)
↺ Lookback (number of trading days back; weekends auto-skipped)
Manual Date Range (when Auto is off) — “Chart Zones from / To”
Per-City Settings
Show ■ (box), Show ⎯ (midline), Opacity, Color
Time Offset (advanced; typically leave 0 or -24 as noted)
Add Your City
Title, Lat., Lon., Color
Show box/midline, Opacity
Custom City Time Offset
Zone Mitigation Settings
Show Zone Mitigation (signals on/off)
Filter By: Wick, Close, or Wick or Close
▲ / ▼ colors
ATR Filter (default 0.25 on ATR ratio)
Debug
Table Page (for stepping through stored days)
⏼ (toggle debug table of High/Low per city)
Suggested use
Confluence trading: Combine Ryze Zones with your session bias, market profile, VWAP, or liquidity maps.
Tap/Mitigate behavior: Watch for first touch, failures to break, and midline reactions; the ATR filter helps you ignore low-energy pokes.
Timing awareness: Use the four interval times as soft “checkpoints” for rotation or continuation.
Notes & limitations
Timeframes: Works on intraday charts; uses 1-minute data internally.
Weekends: Auto-skipped in lookback.
Offsets: City time offsets are advanced controls for edge cases (synthetic sessions, DST quirks). If unsure, leave at default.
Performance: The script is optimized (uses dynamic_requests = true), but enabling many cities + long lookbacks can approach max_lines/boxes.
Historical signals: Mitigation arrows evaluate against today’s zones by design (historical arrays are foundational but signals key off the current day).
Quick start
Turn Ryze Zone Master Switch on.
Set Automatic Time on and choose your Lookback (e.g., 3).
Enable the cities you care about (NY/LON/TYO are a solid start).
Turn on Zone Mitigation with Wick or Close and keep ATR Filter = 0.25–0.35 to start.
Trade reactions into/out of zones with your own risk plan.
Credits / Version
v2.1.0 — Multi-city sunrise zones, mitigation signals with ATR ratio, interval timing table, custom city support, debug tools.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.