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.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.