OPEN-SOURCE SCRIPT
HIDDEN DIVERGANCE AND MARKET SENTIMENT SYSTEM 2026

HIDDEN DIVERGENCE & MARKET SENTIMENT
BY MALL
This analytical system is a multi-layered engine designed to identify institutional trend continuation and overall market health across any asset class.
Core Components:
Sentiment Engine (MTF Scoring):
Aggregates price action and momentum data from four timeframes: 15m, 1H, 4H, and 1D.
Generates a weighted Total Score (0-100) to quantify the dominant market force.
Score values above 70 indicate strong bullish sentiment, while values below 30 indicate strong bearish sentiment.
Hidden Divergence Logic:
Specifically tracks Hidden Bullish and Hidden Bearish divergences to confirm trend continuation.
Hidden Bull: Identifies points where price makes a higher low while the momentum oscillator makes a lower low, signaling a high-probability continuation of the uptrend.
These signals are integrated into the dashboard's "DIV" section for real-time monitoring.
Institutional Bias & Risk Management:
Calculates a High Timeframe (HTF) Bias (e.g., 6/8 or 8/8) to define the "line of least resistance".
Includes an automated Execution Ban: When the HTF Bias is extreme (e.g., "Long Only"), the system flags a "BAN" on all counter-trend setups to prevent retail-side liquidity traps.
Structural Alignment:
Acts as a quantitative filter for complex geometric price structures.
Allows for the verification of internal strength (Sentiment Score) against visual patterns like the "Three Peaks and a Domed House", providing data-driven confirmation of potential reversals or breakouts.
Summary:
The system replaces subjective "guessing" with a standardized mathematical approach to sentiment and momentum, applicable to Crypto, Forex, and Legacy Markets.
ENGINEERED BY MALL
BY MALL
This analytical system is a multi-layered engine designed to identify institutional trend continuation and overall market health across any asset class.
Core Components:
Sentiment Engine (MTF Scoring):
Aggregates price action and momentum data from four timeframes: 15m, 1H, 4H, and 1D.
Generates a weighted Total Score (0-100) to quantify the dominant market force.
Score values above 70 indicate strong bullish sentiment, while values below 30 indicate strong bearish sentiment.
Hidden Divergence Logic:
Specifically tracks Hidden Bullish and Hidden Bearish divergences to confirm trend continuation.
Hidden Bull: Identifies points where price makes a higher low while the momentum oscillator makes a lower low, signaling a high-probability continuation of the uptrend.
These signals are integrated into the dashboard's "DIV" section for real-time monitoring.
Institutional Bias & Risk Management:
Calculates a High Timeframe (HTF) Bias (e.g., 6/8 or 8/8) to define the "line of least resistance".
Includes an automated Execution Ban: When the HTF Bias is extreme (e.g., "Long Only"), the system flags a "BAN" on all counter-trend setups to prevent retail-side liquidity traps.
Structural Alignment:
Acts as a quantitative filter for complex geometric price structures.
Allows for the verification of internal strength (Sentiment Score) against visual patterns like the "Three Peaks and a Domed House", providing data-driven confirmation of potential reversals or breakouts.
Summary:
The system replaces subjective "guessing" with a standardized mathematical approach to sentiment and momentum, applicable to Crypto, Forex, and Legacy Markets.
ENGINEERED BY MALL
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.