I marked each prior instance where the NASDAQ posted 12 consecutive daily gains. You’ll need to click the chart to make it larger to see them all. The data encompasses the period from 1971 till now. But there were no runs of 12-straight up days prior to 1978 or after 1992, at least till today. So those time periods are not shown.
I also marked the one time there were 12 consecutive daily losses.
Click image to enlarge