INVITE-ONLY SCRIPT

SSMT [TakingProphets]

123
SSMT (Sequential SMT) — Multi-Cycle Intermarket Divergence with Quarterly Theory Timing

**OVERVIEW**

SSMT detects intermarket divergences (SMT) between your chart’s instrument and a correlated symbol (default: `CME_MINI:ES1!`). It compares current vs. previous highs/lows inside time-based “quarters” and plots lines + labels when the instruments disagree. The same logic runs across five cycles:

- Micro (granular intraday windows)
- 90-Minute (Asia, London, NY AM, NY PM)
- Daily (Q1…Q4)
- Weekly (calendar week)
- Monthly (calendar month)

Lines and labels persist beyond the period that created them so you can use historical SMTs for confluence.

---

**HOW IT WORKS**

- Time Partitioning (America/New_York)
- Daily quarters
- Q1 = 18:00–00:00
- Q2 = 00:00–06:00
- Q3 = 06:00–12:00
- Q4 = 12:00–18:00
- 90-Minute quarters: four 90m blocks inside each session
- Micro quarters: finer 20–22 minute blocks within each session
- Weekly/Monthly: tracked by calendar (Mon–Fri and 1st–4th full weeks)
- CME daily pause guard: 17:00–18:00 ET (prevents false transitions)

- High/Low State Tracking (per cycle)
- Tracks previous and current highs/lows
- Mirrors tracking for the correlated symbol using `request.security()`

- Divergence Condition (SMT)
- High-side: one instrument makes a higher high while the other does not → bearish divergence
- Low-side: one instrument makes a lower low while the other does not → bullish divergence
- Plots anchored lines + labels (e.g., `SSMT [90m] w/ES`)

- Persistence & Styling
- SMT drawings remain on chart after period ends
- Style inputs apply to historical drawings

- Weekly & Monthly Specifics
- Weekly IDs: `(year * 100 + weekofyear)`
- Monthly IDs: `(year * 12 + month)`
- Handles partial weeks & month transitions

- Alerts
- Two per cycle (High-side & Low-side)
- Fire on the bar where divergence first forms

---

**WHY IT’S ORIGINAL (INVITE-ONLY JUSTIFICATION)**

- Multi-cycle SMT engine (Micro, 90m, Daily, Weekly, Monthly)
- Quarter-aware persistence for SMT drawings
- CME pause handling and stable calendar IDs
- ICT-aligned timing for precise liquidity windows
- Not a wrapper of standard indicators; built on extremum sequencing and cross-instrument comparison
-There is nothing else like this on tradingview

---

**HOW TO USE**

- Add indicator to chart (e.g., NQ, ES,)
- Select a correlated symbol (default: `CME_MINI:ES1!`)
- Enable desired cycles
- Optional: enable quarter/session boxes for context
- Interpret SMTs:
- High-side (bearish): your chart makes HH while correlated does not
- Low-side (bullish): your chart makes LL while correlated does not
- Set alerts for SMT divergences
- Combine with your own HTF narrative

---

**INPUTS AND CUSTOMIZATION**

- Correlated Symbol
- Toggle cycles (Micro, 90m, Daily, Weekly, Monthly)
- Line/label styling (color, width, size, text)
- Session/quarter box toggles
- Alerts for divergence events

---

**REPAINTING & LIMITATIONS**

- No look-ahead (`request.security()` with `lookahead_off`)
- Intra-bar updates can form/resolve SMTs before close
- New York session timing assumed; thin markets may reduce signals
- Divergence quality depends on chosen benchmark

---

**ATTRIBUTION & NOTES**

- Inspired by ICT SMT + Quarterly Theory
- Closed-source & invite-only due to multi-cycle architecture, persistence engine, and calendar handling
- For educational use only. Not financial advice.

---

**RELEASE NOTES (v1.7)**

- Added Weekly & Monthly SMT cycles
- Added High/Low alerts per cycle
- Labels now include cycle ID (`[Micro]`, `[90m]`, `[Daily]`, `[Weekly]`, `[Monthly]`)
- Style changes propagate to historical drawings
- Fixed quarter transition & CME pause edge cases

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.