The reason I like to have this function is because 10 days, 20 days, 55 days, 100 days & 200 days moving averages are important support and resistant levels. I'm a daytrader and I look rather in 4H, 30M, 5M charts than in the day charts. So if these ...
For the ones who is interested, you can use double ma1 = iMA(NULL,1440,5,0,MODE_SMA,PRICE_CLOSE,0); to show the daily MA values in all the other time frames.