confused trying to get pregnant

I don't understand how I have sex multiple times during my Fertility window and especially on my ovulation day most of the time sex is around after midnight. it annoys me why I haven't become pregnant yet. I has a miscarriage in May is that the reason