21 day progesterone test.

How accurate is a 21 day progesterone test on a long cycle? 35 to 42

My gynecologist prescribed clomid and she said it didn't work based on the results of my progesterone test, but i got a positive opk on cd 20 and 21.