Updated with a much cleaner approach.
Piotroski F-score above 8 is financially strong.
Beneish Score below -1.78 is a potential balance sheet manipulator.
Altman Z-Score below or equal to 1.8, it is in financial distress zones
Altman Z-Score above or equal to 3, it is in safe zones.
Altman Z-Score is between 1.8 and 3, it is in grey zones.
Interest coverage ratio below 1.5, it is having problem with debt repayment.
Script will load very slow since it is using financial data.