try this
TimeFrameSet(inDaily);
ta=MA(C,5);
TimeFrameRestore();
taa=TimeFrameExpand(ta,inDaily,expandFirst);
TimeFrameSet(inWeekly);
tb=MA(C,5);
TimeFrameRestore();
tbb=TimeFrameExpand(tb,inWeekly,expandFirst);
TimeFrameSet(inMonthly);
tc=MA(C,5);
TimeFrameRestore();
tcc=TimeFrameExpand(tc,inMonthly,expandFirst);
Plot(C,"",2,64);
Plot(taa,"daily",3,1);
Plot(tbb,"weekly",4,1);
Plot(tcc,"monthly",5,1);
You can use this on intraday chart also.
i