OPEN-SOURCE SCRIPT
Quarterly Theory Cycles + Alerts (Weekly/Daily/90-Minute Cycles)

Quarterly Theory Cycles (90m • Daily • Weekly)
Purpose
Built for Quarterly Theory. This indicator maps repeating quarters across three rhythms—90-minute, Daily, and Weekly (18:00 NY → 18:00 NY)—so you can track where price is within the current quarter and how it reacts to the previous quarter’s high/low.
Quarter Structure
90-Minute Quarters
Daily Quarters
Weekly Quarters
What It Draws
Live, extending range boxes for the active quarter (H/L updates in real time).
Stored previous quarter’s high/low for each rhythm (90m, Daily, Weekly).
Alerts (Quarterly Theory-friendly)
Fires when price first breaks the previous quarter’s high/low:
One alert per side per new quarter—clean signals for liquidity grabs or SSMTs.
Customization
Notes
Purpose
Built for Quarterly Theory. This indicator maps repeating quarters across three rhythms—90-minute, Daily, and Weekly (18:00 NY → 18:00 NY)—so you can track where price is within the current quarter and how it reacts to the previous quarter’s high/low.
Quarter Structure
90-Minute Quarters
- Labels:Q1 / Q2 / Q3 / Q4
- Sessions: Asia, London, NY, PM (each split into four 90-minute quarters).
Daily Quarters
- Labels: [D-Q1 / D-Q2 / D-Q3 / D-Q4
- Windows (America/New_York):
- D-Q1: 18:00–00:00
- D-Q2: 00:00–06:00
- D-Q3: 06:00–12:00
- D-Q4: 12:00–18:00
Weekly Quarters
- Labels: W-Q1 / W-Q2 / W-Q3 / W-Q4
- Trading days defined 18:00 NY → 18:00 NY (DST-aware).
- W-Q1 = Monday, W-Q2 = Tuesday, W-Q3 = Wednesday, W-Q4 = Thursday
- Friday intentionally excluded (no W-Q5) to preserve theory behavior.
- Use for higher-timeframe context and weekly narrative (e.g., expansion vs. distribution days).
What It Draws
Live, extending range boxes for the active quarter (H/L updates in real time).
Stored previous quarter’s high/low for each rhythm (90m, Daily, Weekly).
Alerts (Quarterly Theory-friendly)
Fires when price first breaks the previous quarter’s high/low:
- 90m: “Previous 90min cycle (…) high/low broken”
- Daily: “Previous daily cycle (…) high/low broken”
- Weekly: “Previous weekly cycle (…) high/low broken”
One alert per side per new quarter—clean signals for liquidity grabs or SSMTs.
Customization
- Master Toggles: Show/hide Asia, London, NY, PM, Daily, Weekly blocks fast.
- Independent Transparencies: Separate opacity sliders for 90m vs Daily vs Weekly.
- Per-Quarter Controls: Toggle range, edit label (defaults already set to Q1 / D-Q1 / W-Q1 formats), and color.
- Styling: Optional outlines and labels for minimal or annotated charts.
- Time Zones: Use exchange time or a custom UTC offset for session windows. Weekly boundaries always use America/New_York at 18:00.
Notes
- Designed for theory workflows: prior-quarter liquidity, session rotation, and narrative alignment, SSMTS.
- Friday is excluded from Weekly quarters by design.
- Indicator draws ranges and triggers alerts; it does not place trades.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.