INVITE-ONLY SCRIPT
Qualidade da Tendencia - Renato Saab

Trend Quality Score (TQS)
What it is
The Trend Quality Score is an indicator that objectively measures the quality of a trend, classifying it as CLEAN, DIRTY, or SIDEWAYS. Designed to identify trends with high operational potential — those with clear directional movement, low relative volatility, and preserved technical structure.
What it's for
Filter assets that are in high-quality trends, ideal for directional trades
Monitor trend deterioration before it breaks down
Identify the current regime: active trend, consolidation, or loss of momentum
Avoid trading assets with "dirty" trends - those that even while rising or falling, show excessive noise and volatility
How to interpret
The indicator generates a score from 0 to 100:
70+ : CLEAN trend (green): solid structure, ideal for trend following
45-69 : DIRTY trend (orange): there's direction, but with noise; use caution
<45 : SIDEWAYS (gray): no defined trend or compromised structure
The side panel displays a detailed diagnosis, including separate short-term and long-term analysis, allowing you to understand whether the asset is in healthy consolidation or genuine loss of strength.
Concept
"Clean" trends are those where price flows with directional consistency, moving averages move in an organized manner like railroad tracks, and pullbacks respect the structure without violating it. "Dirty" trends may have direction, but with excessive crossovers, volatility, and disorganized moving averages — making trades difficult and increasing risk.
Developed by Renato Saab | Patrimônio Global
What it is
The Trend Quality Score is an indicator that objectively measures the quality of a trend, classifying it as CLEAN, DIRTY, or SIDEWAYS. Designed to identify trends with high operational potential — those with clear directional movement, low relative volatility, and preserved technical structure.
What it's for
Filter assets that are in high-quality trends, ideal for directional trades
Monitor trend deterioration before it breaks down
Identify the current regime: active trend, consolidation, or loss of momentum
Avoid trading assets with "dirty" trends - those that even while rising or falling, show excessive noise and volatility
How to interpret
The indicator generates a score from 0 to 100:
70+ : CLEAN trend (green): solid structure, ideal for trend following
45-69 : DIRTY trend (orange): there's direction, but with noise; use caution
<45 : SIDEWAYS (gray): no defined trend or compromised structure
The side panel displays a detailed diagnosis, including separate short-term and long-term analysis, allowing you to understand whether the asset is in healthy consolidation or genuine loss of strength.
Concept
"Clean" trends are those where price flows with directional consistency, moving averages move in an organized manner like railroad tracks, and pullbacks respect the structure without violating it. "Dirty" trends may have direction, but with excessive crossovers, volatility, and disorganized moving averages — making trades difficult and increasing risk.
Developed by Renato Saab | Patrimônio Global
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系renatosaab。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Solicite acesso para uso do indicador.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系renatosaab。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Solicite acesso para uso do indicador.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。