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. קרא עוד ב־תנאי השימוש.