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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.