To develop nomograms for predicting disease-free survival (DFS) and overall survival (OS) of gastric cancer (GC) by integrating programmed death ligand 1 (PD-L1) and CD4+/CD8+ tumor-infiltrating lymphocytes (TILs) and CD163+ tumor-associated macrophages (TAMs). This evidence concerns the gene CD4 and gastric cancer.