Price above SMA 80% of the time historically

Hi Geeks,

How can I scan for stocks that have remained above 200 SMA for 80% of the times in past 1, 2, 3, 5 years time frame?
Any free website/tool that provides this?

Cheers
Kash