How to display EMA(c,10) Daily in time frame 1 minute

#1
In my script below I want to show ema 5 and ema 10 from chart daily in time frame 1 minute but value of ema 10 is showed {Empty} and ema5 is not correct. How can i reslove this problem

Please advice me.
Best regard

TimeFrameSet(inDaily);

InDayEma10= EMA(Close,10);
InDayEma5= EMA(Close,5);


TimeFrameRestore();

InDayEma10_1 = TimeFrameExpand(InDayEma10,inDaily);
InDayEma5_1 = TimeFrameExpand(InDayEma5,inDaily);
 

amitrandive

Well-Known Member
#2
In my script below I want to show ema 5 and ema 10 from chart daily in time frame 1 minute but value of ema 10 is showed {Empty} and ema5 is not correct. How can i reslove this problem

Please advice me.
Best regard

TimeFrameSet(inDaily);

InDayEma10= EMA(Close,10);
InDayEma5= EMA(Close,5);


TimeFrameRestore();

InDayEma10_1 = TimeFrameExpand(InDayEma10,inDaily);
InDayEma5_1 = TimeFrameExpand(InDayEma5,inDaily);
https://www.amibroker.com/guide/h_timeframe.html