Editors' picks
OPEN-SOURCE SCRIPT

Quality Screen

Updated
An attempt to show fundamental stats which describes quality of the stock. Following parameters are depicted:

SOLVENCY
DEBT_TO_EQUITY
  • Very Good : 0 - 1
  • Good : 1 - 2
  • High risk : > 2


DEBT_TO_ASSET
  • Very Good : < 0.4
  • Good : 0.4 - 0.6
  • High Risk : > 0.6


LONG_TERM_DEBT_TO_ASSETS
  • Very Good : < 0.4
  • Good : 0.4 - 0.6
  • High Risk : > 0.6


ALTMAN_Z_SCORE
  • Very good: > 3
  • Good : 1.8 - 3
  • High Risk : < 1.8


SPRINGATE_SCORE
  • High Risk : < 0.862



LIQUIDITY

CURRENT_RATIO
  • Very Good : 1.2 - 2
  • Good : 2+ (Too high and Inefficient)
  • High Risk : < 1


QUICK_RATIO
  • Very Good : 1 - 2
  • Good : 2+ (Too high and Inefficient)
  • High Risk : < 0.9


SLOAN_RATIO
  • Very Good: -10% to +10%
  • Good : -25% to -10% or +10% to +25%
  • High Risk: < -25% or > +25%



PROFITABILITY
RETURN_ON_ASSETS
  • Healthy : > 5%
  • Great : > 20%


RETURN_ON_EQUITY
  • Healthy : 10%
  • Great : > 40%


RETURN_ON_INVESTED_CAPITAL
  • Healthy : > 2%
  • Great : > 10%
Release Notes
Added:

LIQUIDITY

INTEREST_COVER
  • Very Good : > 3
  • Good : > 2
  • High Risk < 2


MARGIN:
NET_MARGIN
  • Very Good : > 20
  • Good : > 10
  • High Risk < 5


FREE_CASH_FLOW_MARGIN
  • Very Good : > 15
  • Good : > 10
Release Notes
Added

PIOTROSKI_F_SCORE
https://www.investopedia.com/terms/p/piotroski-score.asp

Found this to be one of the greatest summariser of quality

Very Good: 8-9
Good: 5-7
Risky : 2
High Risk: 1

SUSTAINABLE_GROWTH_RATE
https://www.investopedia.com/terms/s/sustainablegrowthrate.asp

Very Good: 10+%
Good: 5%+
Risky: 0 to -5%
High Risk: Below -5%

May update better threshold for SGR later.
Release Notes
Few updates:

  • Handling null values for last three parameters - which was missing.
  • Condition to show stats only for syminfo.type == "stock" removed as some stocks such as BABA does not have type set to "stock"
  • Added options to select where the table needs to be placed in the screen. Refer screenshots below:


Bottom right position which is default:
https://s3.tradingview.com/snapshots/b/bZaPrx4D.png

Middle left:
https://s3.tradingview.com/snapshots/e/Em0iM6qs.png

Top Center:
https://s3.tradingview.com/snapshots/d/dwaczkpy.png
Release Notes
Added option to set text size
financialsqualityTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer