ewcm and ovulation

LJ
When you get your EWCM when do you ovulate, before, during or after? 
I had EWCM very heavy on the 21st & 22nd June. When would I have ovulated? And when can I test with HPT?
I had a long miscarriage 25th May but we can't wait to try again!