Intercourse 2 days before ovulation and day of positive OPK

Rachel
Is having sex two days before ovulation and the day of a positive ovulation test a good baby making window ? This is the third month trying. No luck so far.