PROTECTED SOURCE SCRIPT
SSMT + HSSMT Detector- Q to Q Analysis- (by FINOR V10.1)

📘 Description
This indicator detects Same-Side Market Trend (SSMT) and Hidden Same-Side Market Trend (HSSMT) divergences between three correlated symbols, providing multi-timeframe intermarket structure analysis.
It works entirely in a Q-based framework, allowing precise identification of structural inefficiencies between related markets.
🕒 Session Structure and Logic
The script divides price data into four time scopes:
1️⃣ Daily Session
2️⃣ 6-hour Session
3️⃣ 90-minute Session
4️⃣ 22.5-minute Session
Each of these sessions is split into consecutive Q intervals (quarters).
Within each Q, the algorithm detects local highs and lows for each of the three selected symbols.
⚙️ How It Works
Q Analysis:
For each session type, the algorithm evaluates the price structure of each symbol inside every Q.
It identifies swing highs and lows to map short-term market structure boundaries.
Inter-Q Comparison:
The script compares consecutive Q periods to locate structural asymmetries — situations where correlated symbols fail to move in sync.
These asymmetries often reveal intermarket inefficiencies and potential reversals or continuations.
SSMT Detection:
The SSMT logic checks for divergence in highs and lows between the selected symbols.
For example, if Symbol A makes a higher high but Symbol B does not, an SSMT signal is generated.
HSSMT Detection:
The HSSMT logic performs a similar analysis but based solely on closing prices, detecting hidden divergences that may appear within continuation phases rather than reversals.
🧭 Visualization and Alerts
Each detected event is labeled directly on the chart with visual tags showing whether it is an SSMT or HSSMT event.
Color-coded markers distinguish between highs, lows, and closes depending on the detected structure.
Optional smart alerts instantly notify the trader when a new SSMT or HSSMT signal is found.
💡 Use Cases
Confirm institutional SMT setups across correlated indices or assets.
Detect non-synchronous behavior between correlated pairs for early reversal confirmation.
Identify continuation or exhaustion points in multi-symbol price action.
🧠 Summary
This tool provides an advanced, multi-timeframe method to visualize and quantify intermarket divergences using a Q-segmented framework.
It allows traders to observe both explicit (SSMT) and hidden (HSSMT) inefficiencies between correlated symbols in real time — a capability not available in standard open-source SMT detectors.
This indicator detects Same-Side Market Trend (SSMT) and Hidden Same-Side Market Trend (HSSMT) divergences between three correlated symbols, providing multi-timeframe intermarket structure analysis.
It works entirely in a Q-based framework, allowing precise identification of structural inefficiencies between related markets.
🕒 Session Structure and Logic
The script divides price data into four time scopes:
1️⃣ Daily Session
2️⃣ 6-hour Session
3️⃣ 90-minute Session
4️⃣ 22.5-minute Session
Each of these sessions is split into consecutive Q intervals (quarters).
Within each Q, the algorithm detects local highs and lows for each of the three selected symbols.
⚙️ How It Works
Q Analysis:
For each session type, the algorithm evaluates the price structure of each symbol inside every Q.
It identifies swing highs and lows to map short-term market structure boundaries.
Inter-Q Comparison:
The script compares consecutive Q periods to locate structural asymmetries — situations where correlated symbols fail to move in sync.
These asymmetries often reveal intermarket inefficiencies and potential reversals or continuations.
SSMT Detection:
The SSMT logic checks for divergence in highs and lows between the selected symbols.
For example, if Symbol A makes a higher high but Symbol B does not, an SSMT signal is generated.
HSSMT Detection:
The HSSMT logic performs a similar analysis but based solely on closing prices, detecting hidden divergences that may appear within continuation phases rather than reversals.
🧭 Visualization and Alerts
Each detected event is labeled directly on the chart with visual tags showing whether it is an SSMT or HSSMT event.
Color-coded markers distinguish between highs, lows, and closes depending on the detected structure.
Optional smart alerts instantly notify the trader when a new SSMT or HSSMT signal is found.
💡 Use Cases
Confirm institutional SMT setups across correlated indices or assets.
Detect non-synchronous behavior between correlated pairs for early reversal confirmation.
Identify continuation or exhaustion points in multi-symbol price action.
🧠 Summary
This tool provides an advanced, multi-timeframe method to visualize and quantify intermarket divergences using a Q-segmented framework.
It allows traders to observe both explicit (SSMT) and hidden (HSSMT) inefficiencies between correlated symbols in real time — a capability not available in standard open-source SMT detectors.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.