Comment on Managing your Script
Sasi,
Check out this blog: http://www.zerodha.com/z-connect/blog/view/managing-your-script
You cannot 2 time frames on one strategy. You can either use a 1 min or a 5min.
10 SMA on 1 min chart won’t be like a 50SMA on 5 min chart, it will be very different.