Oxathiapiprolin (OXA), which targets the oxysterol-binding protein (OSBP), is an outstanding piperidinyl thiazole isoxazoline (PTI) fungicide that can be used to control oomycetes diseases. In this study, starting from the structure of OXA, a series of novel OSBP inhibitors were designed and synthesized by introducing an indole moiety to replace the pyrazole in OXA. Finally, compound b24 was found to exhibit the highest control effect (82%) against cucumber downy mildew (CDM) in the greenhouse at a very low dosage of 0.069 mg/L, which was comparable to that of OXA (88%). Furthermore, it showed better activity against potato late blight (PLB) than other derivatives of indole. The computational results showed that the R-conformation of b24 should be the dominant conformation binding to PcOSBP. The results of the present work indicate that the 3-fluorine-indole ring is a favorable fragment to increasing the electronic energy when binding with PcOSBP. Furthermore, compound b24 could be used as a lead compound for the discovery of new OSBP inhibitors.