OPEN-SOURCE SCRIPT
已更新 Market Quality Score Pro

Market Quality Score Pro is a multi-factor scoring indicator that helps you evaluate stocks, ETFs, indices, bonds, crypto, forex, and commodities with one unified framework. It combines relative strength, trend quality, and (where available) fundamental quality into a normalized score from 0.00 to 1.00, then translates that score into practical signal zones such as Watch, Buy, Strong Buy, or Avoid.
The indicator is designed to adapt to different instrument types automatically. For stocks, it can include earnings growth, revenue growth, and return on equity, while for ETFs, indices, bonds, and many other instruments it focuses more on relative strength, benchmark comparison, trend structure, and data quality.
Key features:
How to read it:
This script is not a standalone trading system and should not be used in isolation. Signals are strongest when read together with price structure, liquidity, market regime, and upcoming event risk such as earnings releases
The indicator is designed to adapt to different instrument types automatically. For stocks, it can include earnings growth, revenue growth, and return on equity, while for ETFs, indices, bonds, and many other instruments it focuses more on relative strength, benchmark comparison, trend structure, and data quality.
Key features:
- Multi-factor total score from 0.00 to 1.00.
- Relative strength model based on 12-month ex-last-month, 6-month, 3-month, distance to 52-week high, and RS-line slope.
- Trend quality model based on SMA200, 50/200 structure, and drawdown control.
- Fundamental quality block for equities using EPS growth, revenue growth, and ROE where valid data exists.
- Automatic benchmark selection by market and region, with optional manual override.
- Coverage and confidence logic to reduce overconfidence when data is incomplete.
- Safety filter for trend condition, drawdown quality, and tradability.
- Signal markers for Buy, Strong Buy, Exit, and Divergence.
- Informative table with benchmark, market regime, history quality, score components, and model status.
How to read it:
- Above 0.50: instrument becomes interesting.
- Above 0.65: enters the buy zone if additional gates and filters are satisfied.
- Above 0.80: strong candidate with stricter confirmation logic.
- Below 0.30: weak zone or avoid area.
This script is not a standalone trading system and should not be used in isolation. Signals are strongest when read together with price structure, liquidity, market regime, and upcoming event risk such as earnings releases
版本注释
This update improves reliability and speed.The score momentum is now more robust on symbols with short history, and fundamentals are only used where they truly make sense (for stocks). Non‑stock instruments like ETFs, indices, bonds, FX, crypto, and commodities are treated more cleanly, which reduces load and keeps the table focused on meaningful information.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。