A country's economy is stagnating when the gdp is : neither rising nor falling
Stagnating economy happens when there is no change in economic flow.
This could happen only if the market situation in the past is still similar as it is today. The condition that could cause this similarity is if the GDP is neither rising nor falling