Thanks! Best wishes, Daphne --- On Fri, 3/12/10, Aron <[email protected]> wrote:
From: Aron <[email protected]> Subject: Re: Fw: [amibroker] Multiple Time Frames To: [email protected] Date: Friday, March 12, 2010, 4:20 AM You can try something like this: TimeFrameSet(inDaily); Plot(C, "", colorGreen,styleBar); TimeFrameRestore(); av = MA(C, 20); dayend = Hour()== 23; j = 0; Compressed = Null; for ( i = 0; i < BarCount; i ++) { if(dayend[i]) { Compressed[j] = av[i]; j++; } } delta = BarCount-j-1; Compressed = Ref(Cmprs, -delta); Plot(Cmprs,"", colorRed); On 3/11/2010 6:15 PM, Daphne Renault wrote: Thanks for the link, but it does not solve my problem. What is described there, is to use information of a larger time frame on a smaller. But I want the opposite. Information of a smaller time frame on a larger, the EOD-Value of an intraday MA on a daily time frame. Regards, Daphne --- On Thu, 3/11/10, Reinsley <reins...@yahoo. fr> wrote: From: Reinsley <reins...@yahoo. fr> Subject: Re: Fw: [amibroker] Multiple Time Frames To: amibro...@yahoogrou ps.com Date: Thursday, March 11, 2010, 3:04 AM Hi, Did you see this page "Multiple Time-frame indicators by TJ" ? http://www.amibroke r.com/docs/ MTFIndicators. html Hope it helps... :-) Best regards Le 10/03/2010 22:47, Daphne Renault a écrit : Any ideas on what might be the issue here? Thanks, Daphne --- On Sat, 3/6/10, Daphne Renault <daphne.renault@ yahoo.com> wrote: From: Daphne Renault <daphne.renault@ yahoo.com> Subject: [amibroker] Multiple Time Frames To: amibro...@yahoogrou ps.com Date: Saturday, March 6, 2010, 9:15 AM Hi, how is it possible to switch from a daily time frame to an intraday time frame, using an MA on the intraday time frame and at least plot the last intraday MA each day on the daily time frame? I have tried on a daily time frame: 30MinArray=TimeFram eExpand(Foreign( "$XYZ","Close" ),30*60); MA30Min=MA(30MinArr ay,13); MA30MinDailyLast= TimeFrameCompres s(MA30Min, inDaily,compress Last); Plot(MA30MinDailyLa st,"MA 30Min",colorBlue, styleLine) ; But there is something wrong. The values of MA30MinLast do not fit the EOD values of MA30Min. Any ideas? Best wishes, Daphne
