INVITE-ONLY SCRIPT

Quarterly Theory (Lรฉ Modรฉl) ๐Ÿงช [Ultimate +] | cephxs

176
QUARTERLY THEORY (Lร‰ MODร‰L) ๐Ÿงช
SSMT + Timed Structural Swing Points + Alerts

This is mostly types using voice typing so the punctuation might be off.


This indicator uses public domain information based on a trading system called "Quarterly Theory" by TraderDaye & ICT. All concepts are freely available educational material that's been around for years. I just built a tool to visualize it properly.


WHAT IS THIS?

Alright so basically this is my attempt (pretty good attempt I'd say) at building the ultimate quarterly theory tool. It tracks multiple timeframe cycles (monthly, weekly, daily, 90m, and micro) and detects when correlated assets are diverging from each other at key swing points. That's the SSMT (sequential smt) part otherwise called an Offset Divergence either in an Accumulation/distribution phase of price.

On top of that, it finds timed structural swing points with their exact formation times, detects liquidity purges, and confirms change in state of delivery (CISD) through orderblock reclaims. Everything is wrapped in a pretty comprehensive alert system so you can actually trade off this stuff without staring at charts 24/7.

CORE FEATURES

  • Multi-Cycle SSMT Detection: tracks divergences across 5 nested cycles - monthly, weekly, daily, 90m, and micro. each cycle has its own visibility gates so you're only seeing what's relevant to your chart timeframe. They are also customizable so you are not restricted to what I think is best; nevertheless, hard gates are put in place to prevent unnecessary data calls too far back into history to allow users of all plans to use without errors (Bar data limits)
  • Timed Swing Points: every pivot high/low gets timestamped. you'll see exactly when the swing formed - super useful for macro window analysis (those :00-:10 and :50-:00 minute windows).
  • Liquidity Purges: automatically detects when price sweeps a previous swing high/low and reverses. shows both the sweep level and confirmation.
  • CISD (Change In State of Delivery): finds the stretch candle at pivots and waits for price to reclaim it. that's your delivery change confirmation.
  • Auto Asset Detection: just throw it on any chart and it figures out the correlated assets for you. works with indices (NQ1!, ES1!, YM1!), forex majors (EURUSD, GBPUSD), metals (XAUUSD, XAGUSD), crypto, and more.
  • Normal + Hidden Divergences: normal divergence is when extremes diverge between assets. hidden divergence uses body closes instead of wicks - sometimes catches moves that normal misses.
  • Comprehensive Alert System: atomic alerts for individual events, preset combos for multi-confluence setups, and a custom "alert kitchen" to build your own conditions.
  • Each of these features can be visually disabled individually while the logic is still computed and alerts still function without bother.


THE CYCLES EXPLAINED

quarterly theory breaks time down into nested fractal cycles. each cycle divides into 4 quarters (Q1, Q2, Q3, Q4) where Q2 is typically expansion/displacement:

  • Monthly Cycle: tracks the 4 weeks of the month. best viewed on 4H charts and above
  • Weekly Cycle: Mon-Tue-Wed-Thu-Fri as the 5 "quarters". best on 1H charts.
  • Daily Cycle: the trading day split into 4 sessions (asia, london, ny am, ny pm). best on 15m.
  • 90m Cycle: 6 x 90-minute windows throughout the day. best on 3-5m charts.
  • Micro Cycle: 22.5-minute quarters within each 90m block. 1m charts only.

Tried to implement a new Quarterly Cycle, will defer that to a later update.

VISIBILITY GATES

the indicator automatically shows/hides cycles based on your chart timeframe. here's how it works:

Auto Mode (recommended):
  • Micro: 1m only
  • 90m: 3m-5m
  • Daily: 15m only
  • Weekly: 1H only
  • Monthly: 4H only


Extended Mode (more flexibility):
  • Micro: 1m-3m
  • 90m: 1m-30m
  • Daily: 5m-1H
  • Weekly: 15m-4H
  • Monthly: 4H-1D


you can also set custom ranges or just show everything with "All" mode.

INPUTS BREAKDOWN

Visual Preset
  • All Features: shows everything - SSMT, time labels, CISD, purges
  • SSMT + TIME + CISD: hides purge lines for cleaner charts
  • SSMT + CISD: hides time labels too
  • SSMT Only: just the divergence lines, nothing else


SSMT Plots (Section 2)
  • Extreme Detection Mode: "Normal" uses wick extremes, "Hidden" uses body closes, "All" shows both
  • Per-Cycle Toggles: enable/disable each cycle independently with custom colors
  • Label Styling: choose between "Cycle + Asset", "Cycle" only, or "Asset" only labels


Pivot Detection (Section 3)
  • Sensitivity: controls how many bars on each side to confirm a swing (default: 2)
  • Maximum Points: limits how many pivots are displayed


Pivot Labels (Section 4)
  • Show Time Labels: displays the exact timestamp of each swing
  • Key Times Only: only shows labels for swings in macro windows (:00-:10, :24-:36, :50-:59)
  • Macro Colors: special highlighting for pivots during macro windows


Purge Detection (Section 5-6)
  • Pending Timeout: how many bars a purge can wait for confirmation before being discarded
  • Strict Key Time: requires both the sweep AND confirmation to be in key time windows
  • Dotted Line Offset: how far the confirmation line extends past the reversal candle


CISD Detection (Section 7-8)
  • Size Filter: filters out tiny orderblocks using ATR-based sizing. options from "Really Small" (shows most) to "Juicy" (only big ones)
  • Pending Timeout: bars before an unconfirmed CISD expires
  • Exhaustive Mode: shows all valid CISDs instead of limiting to max count


ALERT SYSTEM

this is where it gets powerful. three tiers of alerts:

Atomic Alerts (individual events):
  • Swing High/Low formed
  • Bearish/Bullish Purge confirmed
  • CISD Confirmed/Pending
  • Purge + CISD Combo


Preset Combos (multi-confluence):
  • M/W/D/90/Micro SSMT + CISD: fires when SSMT divergence is active AND CISD confirms in matching direction
  • Require Matching Purge: adds purge to the combo requirement
  • Stacked Alerts: triggers when 2+ cycles align simultaneously


Alert Kitchen (custom builder):
build your own combo by selecting:
  • Which SSMT cycle (with direction: bullish/bearish/any)
  • Whether CISD is required
  • Whether matching purge is required
  • Purge tolerance (how close the purge pivot needs to be)


Session Filter:
all alerts can be filtered to only fire during specific sessions:
  • Asia: 18:00-00:00 ET
  • London: 02:00-05:00 ET
  • NY AM: 08:30-12:00 ET
  • NY PM: 13:30-16:00 ET
  • Custom time ranges


AUTO ASSET DETECTION

the indicator uses the AssetCorrelation library to automatically figure out which assets to compare. here's what it supports:

  • US Indices:NQ1!, ES1!, YM1! (or micros MNQ/MES/MYM)
  • Forex Majors:EURUSD, GBPUSD vs DXY
  • Metals:XAUUSD, XAGUSD, Copper
  • Energy: CL (crude), RB (gasoline), HO (heating oil)
  • Crypto: BTC, ETH, TOTAL3 as triad
  • EU Indices: GER40, EU50, UK100, ESP35


you can also disable auto mode and manually configure your own asset triads/dyads.

STATUS BAR

optional horizontal bar showing which SSMT cycles are currently active. displays M | W | D | 90m | Micro with color coding:
  • Blue = bullish divergence active
  • Red = bearish divergence active
  • Gray = neutral (no divergence)
  • Purple = both directions active simultaneously (sandwich)


RECOMMENDED USAGE

  1. start with "Auto" timeframe gating - it shows the right cycles for your chart
  2. focus on cycles that align with your trading style (scalpers: 90m/micro, swing: daily/weekly)
  3. use CISD confirmation before entries - divergence alone isn't enough (at least for me)
  4. Pair with True Opens to align properly (This is a trading model in itself)
  5. set up preset alerts for your main setup (e.g., "D SSMT + CISD" on 15m chart)
  6. filter alerts to your active trading session to reduce noise


TIMEFRAME CHEAT SHEET

  • 1m: Micro cycle + 90m context
  • 3-5m: 90m cycle + Daily context
  • 15m: Daily cycle + Weekly context
  • 1H: Weekly cycle + Monthly context
  • 4H: Monthly cycle only


FAQ

why don't i see any SSMT lines?
check your timeframe gating mode. if you're on a 15m chart with "Auto" mode, you'll only see Daily cycle. switch to "Extended" or "All" to see more cycles.

what's the difference between normal and hidden divergence?
normal uses wick highs/lows, hidden uses body closes. hidden can catch divergences that wicks miss, but it's also noisier.

Why do some CISDs not confirm?
the stretch candle needs to be reclaimed by price within the timeout window. if price never comes back to that level, the CISD expires.

can i use this on stocks?
technically yes, but you'll need to manually configure your asset pairs since auto-detection focuses on futures/forex/crypto.

DISCLAIMER


this is an educational tool, not financial advice. quarterly theory, SSMT, and all related concepts are based on publicly available information from TraderDaye and ICT methodology on X with a touch of my own discoveries too.

past performance doesn't guarantee future results. always use proper risk management and never trade more than you can afford to lose. the indicator is provided as-is with no guarantees.

do your own backtesting before using this in live markets.


CREDITS

  • Quarterly Theory concepts: TraderDaye & ICT
  • AssetCorrelation library: fstarcapital
  • Development: cephxs & fstarcapital community


CHANGELOG

  • Ultimate +: added Alert Kitchen, stacked cycle alerts, session filtering, status bar, size-filtered CISD
  • Pro +: added hidden divergences, added sweep detection/plots, auto asset detection, preset combos
  • Base: initial release with core SSMT and pivot time labels




No form of this Library is to be sold in any capacity as part of any service / indicator on the TradingView Platform or elsewhere by anyone else but me.

Otherwise it is completely free to use in private and public open/closed source indicators.


Sidenote: 3rd upload because I'm trying to get the thumbnail right :(

Made with โค๏ธ from cephxs

๋ฉด์ฑ…์‚ฌํ•ญ

ํ•ด๋‹น ์ •๋ณด์™€ ๊ฒŒ์‹œ๋ฌผ์€ ๊ธˆ์œต, ํˆฌ์ž, ํŠธ๋ ˆ์ด๋”ฉ ๋˜๋Š” ๊ธฐํƒ€ ์œ ํ˜•์˜ ์กฐ์–ธ์ด๋‚˜ ๊ถŒ์žฅ ์‚ฌํ•ญ์œผ๋กœ ๊ฐ„์ฃผ๋˜์ง€ ์•Š์œผ๋ฉฐ, ํŠธ๋ ˆ์ด๋”ฉ๋ทฐ์—์„œ ์ œ๊ณตํ•˜๊ฑฐ๋‚˜ ๋ณด์ฆํ•˜๋Š” ๊ฒƒ์ด ์•„๋‹™๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์ด์šฉ ์•ฝ๊ด€์„ ์ฐธ์กฐํ•˜์„ธ์š”.