scanning Nifty50 EOD data

#1
i have loaded nifty50 EOD data in amibroker now i want to see how many stocks are above there 5,10,20 day ma also stocks making 10 day and low.how to do that at one go without looking at all stocks individually as it is very tedious to do it manually.
Thanks
Renu