Here the analysis of tracking the number of days a stock that stays above 50MA.
Example of the scanning result.
Ticker,Date/Time,Start Date,Days >50MA
A,2/22/2021,9/28/2020,101
A,2/24/2021,2/24/2021,1
A,3/2/2021,3/1/2021,2
A,3/15/2021,3/15/2021,1
A,5/17/2021,3/26/2021,36
A,9/27/2021,5/19/2021,91...