Need Tradescript for Price Alert

Hii Friends,

I Need a trade script for the following Requirtment, Please help me in this

1)  I need Price Alert when price reaches 30 Simple Moving Average in all stocks which i list.

Please Help me out if this is not possible please suggest me any other way to aquire this condition.

Thank you in Advance.

you can use scanner if you want to scan list of stock,

as per the above condition 

CLOSE > SMA(CLOSE,30)