PROTECTED SOURCE SCRIPT
Mis à jour

SSMT [jam]

165
🔷 Quarterly Theory SSMT based off of Daye's Quarterly Theory

This indicator detects Sequential SMTs between the charted symbols and up to two other correlated symbols using a hierarchical, time-based cycle system.

❓ What It Does
The script divides time into five nested cycles:
  • Nano: ~5.625 min (double to ~11.25 min) – best on seconds charts
  • Micro: ~22.5 min (double to ~45 min) – best on 1-minute charts
  • 90m: 90 min (double to 180 min) – best on 5-minute charts
  • Daily Session: 6-hour segments (double to 12-hour) – best on 15-minute charts
  • Weekly: Day-based phases (Q1–Q5; doublable) – best on 60-minute charts


Within each cycle, it tracks price extremes for all selected symbols. When a cycle ends, it checks if the main index and comparison indices moved in opposite directions from their prior-cycle extremes. Matching opposite moves trigger a divergence signal.
Divergences appear as coloured extending lines connecting the prior and current extremes, with labels showing which symbols diverged.

⭐ Unique Aspects
  • Covers five fractal levels from ultra-short nano to weekly
  • Allows higher-timeframe divergences on lower charts (e.g., daily/weekly signals visible on 1m)
  • Auto-adjusts so the charted symbol is always the primary reference
  • Optional vertical dividers and fixed Q-labels for clear cycle timing


🎀 Extensive Customization
  • Global controls: Toggle all divergences, dividers, cycle labels; universal label background, text colour, size, position (start/middle/end of line), and style (auto/up/down)
  • Per-cycle settings (independent for Nano, Micro, 90m, Daily, Weekly):
  • Show/hide the cycle's divergences
  • Doubling option
  • Separate bullish and bearish line colours
  • Line width and style (solid/dashed/dotted)
  • Divider colour, width, and style
  • Toggle Q-labels
  • Option to display this cycle's signals on lower timeframes


🔨 How to Use
I personally apply it to NQ, ES, and YM (CFDs), but you can choose whichever symbols you trade/prefer. Divergence lines form at cycle boundaries:
  • Bullish divergence (typically lower low on main index but higher on others) → potential support/rotation higher
  • Bearish divergence (typically higher high on main but lower on others) → potential resistance/rotation lower





Stronger signals occur when multiple cycle levels align. Always combine with your own analysis and risk management.
A highly configurable tool for spotting intermarket relative strength/weakness across multiple time scales.
Notes de version
v1.7.0 updates code to be ~30% shorter than v1.6.1
I apologize for the delay of uploading this script 🙏
Have a Merry Boxing day!

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.