Miscarriage or ectopic still?

Four

Does anyone answer these posts?

I missed a period had unusual spotting and right sided pinching pain, painful bowel motion sore boobs. I thought I had a weird period So I tested yesterday and it came back positive. But i was in a bit of pain and then I felt a popping sensation and then the pain eased off, I felt a wet feeling straight after. I had bled almost black blood. About 2-6 hours after this I filled 1pad with fresh blood. No cramps just aching in right flank area. It's now a dark brown colour again with minimal bleed. I would have been 5w6d today. Is this the miscarriage over? Was this the bleeding from my tube as ive had no cramping?