Dear Happyji and Seniors ,
I am new to Amibroker and its AFL language. I Want Daily 5 EMA (High), 5 EMA (Close) and 5 EMA (Low) to be plotted on 1 Min. chart.
Whether the following codes are correct? If not I request you to correct the same.
Whether it will give Daily 5 EMA (High), 5 EMA (Close) and 5 EMA (Low) on all Intraday Chart?
Please help
_SECTION_BEGIN("EMA CLOSE DAILY");
TimeFrameSet(inDaily);
e5d= EMA(Close,5) ;
Plot(TimeFrameExpand(e5d, inDaily), "", ParamColor( "Daily Color", colorWhite ), ParamStyle("Style", styleLine));
TimeFrameRestore();
_SECTION_END();
_SECTION_BEGIN("EMA HIGH DAILY");
TimeFrameSet(inDaily);
e5d= EMA(high,5) ;
Plot(TimeFrameExpand(e5d, inDaily), "", ParamColor( "Daily Color", colorGreen ), ParamStyle("Style", styleDashed));
TimeFrameRestore();
_SECTION_END();
_SECTION_BEGIN("EMA LOW DAILY");
TimeFrameSet(inDaily);
e5d= EMA(Low,5) ;
Plot(TimeFrameExpand(e5d, inDaily), "", ParamColor( "Daily Color", colorRed ), ParamStyle("Style", styleDashed));
TimeFrameRestore();
_SECTION_END();
Thanks