Prediction of glass-forming ability for metallic systems