OPEN-SOURCE SCRIPT
Daye Quarterly Theory (Open Source) [CantoLab]

An open source implementation of Daye's Quarterly Theory, based on the work of traderdaye. Visualises the 4 quarterly cycles — Accumulation, Manipulation, Distribution and Reversal/Continuation — across Weekly, Daily and 90 Minute timeframes in a dedicated pane below the chart.
Introduction
The underlying idea of Daye's Quarterly Theory is that time divides into repeating quarters for correct interpretation of market cycles. These quarters represent the same 4 phases regardless of which timeframe you are looking at:
Quarterly Cycles
Weekly Quarters
Daye determined the trading week is composed of 4 relevant days:
Daily Quarters
The trading day breaks into four 6-hour blocks, which roughly align with the major trading sessions:
Times based on New York time. Will vary by instrument, adjust according to preference.
90 Minute Quarters
Each 6-hour Daily block divides further into four 90-minute segments. The indicator automatically updates to display the active 6-hour block's quarters in real time. Using the Asian Session as an example:
Q1 — 18:00 – 19:30
Q2 — 19:30 – 21:00 (
Q3 — 21:00 – 22:30
Q4 — 22:30 – 00:00
The 90 Minute row is the most granular level included and is where most intraday traders will find their entry and exit timing.
Settings
Notes
Introduction
The underlying idea of Daye's Quarterly Theory is that time divides into repeating quarters for correct interpretation of market cycles. These quarters represent the same 4 phases regardless of which timeframe you are looking at:
- A — Accumulation
- M — Manipulation
- D — Distribution
- X — Reversal / Continuation
The sequence always follows A → M → D → X, however the cycle can begin at X depending on the analyst's discretion. This indicator focuses on the 3 most practical timeframes for day to day trading - Weekly, Daily and 90 Minute quarters.
Quarterly Cycles
Weekly Quarters
Daye determined the trading week is composed of 4 relevant days:
- Q1 — Monday (Accumulation)
- Q2 — Tuesday (Manipulation / True Open)
- Q3 — Wednesday (Distribution)
- Q4 — Thursday (Reversal / Continuation)
Daily Quarters
The trading day breaks into four 6-hour blocks, which roughly align with the major trading sessions:
- Q1 — 18:00 – 00:00 (Asian Session)
- Q2 — 00:00 – 06:00 (London Session / True Open)
- Q3 — 06:00 – 12:00 (New York Session)
- Q4 — 12:00 – 18:00 (PM Session)
Times based on New York time. Will vary by instrument, adjust according to preference.
90 Minute Quarters
Each 6-hour Daily block divides further into four 90-minute segments. The indicator automatically updates to display the active 6-hour block's quarters in real time. Using the Asian Session as an example:
Q1 — 18:00 – 19:30
Q2 — 19:30 – 21:00 (
Q3 — 21:00 – 22:30
Q4 — 22:30 – 00:00
The 90 Minute row is the most granular level included and is where most intraday traders will find their entry and exit timing.
Settings
- Show History — keep or clear previous cycles as new ones form
- Weekly / Daily / 90 Minute Quarters — toggle each row independently
- Labels — toggle A/M/D/X labels on or off, with size control
- Colors — customise each phase color individually
- Border — auto-detects chart theme (light/dark) or set manually
Notes
- Displays in a separate pane, does not overlay on price
- Times are based on Futures trading in New York Time — adjust expectations for Forex, Metals, Crypto, Commodities and Equities
- best on timeframes of 15 minutes or lower to avoid visual clutter.
- Theory originally developed by traderdaye — study his material directly for full context on how to apply these cycles.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.