Hi Tomasz, Many Thanks for the reply.
I am trying to run an executable using AlertIf at a predefined time [let's say 12:00] and need to pass completed 30-min H/L at that time to that executable. As We keep on changing time intervals just to get better understanding on what's going in market and suppose if i leave the computer at 60-Min interval then my script receives 60-Min H/L instead of 30-Min H/L values. It's difficult to ensure that chart interval is set to less than 30-Min always when ever i move away from the computer for some time. If there is any way to change the chart interval from AFL, then just before calling AlertIf function,I will change the chart interval to 30-Min. Please suggest an workaround for this requirement. Thanks, Naga Kiran --- In [email protected], "Tomasz Janeczko" <gro...@...> wrote: > > It is clearly explained in the guide > http://www.amibroker.com/guide/h_timeframe.html > > "Please note that you can only compress data from shorter interval to longer interval. So when working with 1-minute data you can > compress to 2, 3, 4, 5, 6, ....N-minute data. But when working with 15 minute data you can not get 1-minute data bars. In a similar > way if you have only EOD data you can not access intraday time frames." > > So, your chart needs to be using 30 minute interval or less if you want interpretation using 30 min data. > > Best regards, > Tomasz Janeczko > amibroker.com > ----- Original Message ----- > From: "nagkiran_k" <k.nagaki...@...> > To: <[email protected]> > Sent: Friday, December 19, 2008 4:57 PM > Subject: [amibroker] Accessing data from time frame lesser than selected chart time interval > > > >I have a database with 1-min data and selected the time interval as > > hourly. so, all the built-in arrays are compressed accordingly but the > > problem is i am not able to access 30-min data from the same AFL to > > display in commentary/interpreation using > > TimeFrameGetPrice("0",in5Minute*6). Its always returning the hourly data. > > > > Is it possible to access the data in lower-time frame in > > commentary/interpretation while the chart interval is set to higher > > time-frame? > > > > > > ------------------------------------ > > > > **** IMPORTANT **** > > This group is for the discussion between users only. > > This is *NOT* technical support channel. > > > > ********************* > > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to > > SUPPORT {at} amibroker.com > > ********************* > > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > > http://www.amibroker.com/devlog/ > > > > For other support material please check also: > > http://www.amibroker.com/support.html > > > > ********************************* > > Yahoo! Groups Links > > > > > > >
