PROTECTED SOURCE SCRIPT
Mis à jour

SSMT [jam]

1 105
🔷 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!
Notes de version
After not touching this script for some time, I updated it:
• Added togglable inverted SSMT for all 3 assets
• Added auto triads for:
• NQ, ES, YM (CME Futures- Minis/Micros, Pepperstone CFDs)
• EU, GU, DXY (Futures)
• DXY auto inverts
• ZN, ZB, ZF (Futures)
• Max lines per each unique cycle (input-able number value is likely to be a bit off due to what's in last set of brackets of this update description)
• +/-SSMT Label colours for each unique cycle
• Refined some code
• Crunched in about 6 hours of trying to figure things out one Saturday (today) 😅

I hope I didn't miss anything such as bugs or such because I don't really want to keep fixing stuff in here
(I am aware that some SSMTs don't display on some of the assets within the given triad, I don't know the cause of that as of right now)

Please enjoy, and have a good day! ❤️
Notes de version
v1.8.0
In addition, here is a little description of what inverted (S)SMTs are:
• Some assets are inversely/dis correlated
• For example, if you look at 6E1! and DX1!, you will notice that if you turn on "inverted scale" within TradingView (Alt + I) on DXY, you can see that the two assets are correlated in that view
• Inverted (S)SMTs essentially take that inverted chart of DXY (or whatever asset you choose) and compare those "new" highs and lows for detection

Now I will be done adding to the description of the indicator 👋
Notes de version
Updated chart image to show symbol/timeframe

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.