You can email trade-ideas and they can give you a custom formula based on the SMA value.
As for your scanner, you can get a software that allows custom scanning(you can write your own scanner). A good one is Medved Trader. But I don't think you can use the scan on multiple timeframes at once