As I said in my original message Herman, the problem with that technique is, it's very possible that my history (I have SetBarsRequired to view the minimum historical bars for speed purposes), particularly when I'm in lower intervals like 1min, may not have that data in it... so I cant tell unless I go to a higher interval or unless I scroll the chart backwards... which obviously defeats the purpose of using AFL to try and automate the process...
You see what I mean...? --- In [email protected], Herman <psy...@...> wrote: > > ahh, > > You could check if you have any bars in your Data history between 16:00 > and 9:30, you might have to do this only once/session. > > herman > > > No not the interval Herman... whether the chart is being displayed > > (filtered) for day session only or 24 hour session... > > > --- In [email protected], Herman <psytek@> wrote: > >> > >> if( Interval() == InDaily ) ? > >> > >> herman > >> > >> > I'm talking about finding out from AFL... not manually. > >> > >> > --- In [email protected], "Joris M.schuller" <jmschuller@> wrote: > >> >> > >> >> File/Database Settings/Intraday settings/Filtering: Check which of the 4 > >> >> options (and Filter weekends) is selected. > >> >> > >> >> > >> >> > >> >> From: [email protected] [mailto:[email protected]] On > >> >> Behalf > >> >> Of Rob > >> >> Sent: Monday, March 15, 2010 8:04 PM > >> >> To: [email protected] > >> >> Subject: [amibroker] Day Session or 24 Hour from AFL...? > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> I'm wondering if there is a sure fire way to know via AFL if the chart > >> >> in > >> >> question is set to view the 24 hour session or the day session only....? > >> >> > >> >> Clearly where there is enough data on the chart you can look for times > >> >> outside the day session to tell you, but it's very possible, and is the > >> >> case > >> >> in this instance, that not enough data is visible in the current array > >> >> to > >> >> know what the filtering mode is... the only way to know would be scroll > >> >> backwards... but I want to know via AFL if possible. > >> >> > >> >> I need to know because I'm constructing DateTime values back a certain > >> >> number of bars (outside of the current arrays) and clearly 24 hour > >> >> session > >> >> or day session makes a big difference... > >> >> > >> >> TIA > >> >> > >> > >> > >> > >> > >> > ------------------------------------ > >> > >> > **** IMPORTANT PLEASE READ **** > >> > This group is for the discussion between users only. > >> > This is *NOT* technical support channel. > >> > >> > TO GET TECHNICAL SUPPORT send an e-mail directly to > >> > SUPPORT {at} amibroker.com > >> > >> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at > >> > http://www.amibroker.com/feedback/ > >> > (submissions sent via other channels won't be considered) > >> > >> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > >> > http://www.amibroker.com/devlog/ > >> > >> > Yahoo! Groups Links > >> > > > > > > ------------------------------------ > > > **** IMPORTANT PLEASE READ **** > > This group is for the discussion between users only. > > This is *NOT* technical support channel. > > > TO GET TECHNICAL SUPPORT send an e-mail directly to > > SUPPORT {at} amibroker.com > > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at > > http://www.amibroker.com/feedback/ > > (submissions sent via other channels won't be considered) > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > > http://www.amibroker.com/devlog/ > > > Yahoo! Groups Links >
