Can someone help me with this question please ?

Lainet

So my first day of my last period was October 27th which means that I should be 4 weeks pregnant or so, but I was ovulating on October 14th and the pregnancy test was positive on October 20th. The pregnancy test is not supposed to test positive until I missed my period. Can someone explain this to me please. Thank you