Thanks for the tip. The problem however is not that I want my plugin to access data in base intervals, but that I want to paint information on the chart based on base intervals. Am I correct that I would therefore need to require that the user set their chart settings to base intervals that my plugin is requiring? It would seem so right?
--- In [email protected], "janhausd" <janhaus.dres...@...> wrote: > > If you look at the ADK documentation for writing your own plug-in, you will > see that there are time interval variables you can call/set, so one single > plugin can serve up data or perform data manipulation in various base > intervals depending on the settings of the Amibroker instance you are > connected to. > > --- In [email protected], "Conrad Joach" <consolejoker@> wrote: > > > > Thanks, so AB gives you a lot of choices here. Very nice. One problem > > though is that Hourly intervals still fall on the half hour, which is very > > weird. Is there something I'm missing in the settings to change that too? > > > > Oh wait, I just found it: "align minute bars to regular market hours". > > > > This is all pretty cool, except the one problem I see is for plugins that > > are expecting a certain interpretation of interval and time. I suppose one > > could require the settings to be set for a given plugin, except that > > different scripts/plugins may require different settings. That means > > multiple instances of AB in order to satisfy such a condition. I think > > ideally these should be settings on a par chart window level, right? Maybe > > I'll offer that up as a suggestion. > > > > > > --- In [email protected], "janhausd" <janhaus.dresden@> wrote: > > > > > > Conrad, > > > > > > Tools->Preferences->Intraday, then try the Start or End of time > > > intervals. One of these should do it. > > > > > > > > > --- In [email protected], "Conrad Joach" <consolejoker@> wrote: > > > > > > > > I am trying to understand how AmiBroker reports the time in bars. As > > > > one example, I am noticing that on a 15 minute chart, every 15 minute > > > > interval (not counting the last one, which is in progress) is reporting > > > > 1 less minute than it should be. For example right now in EST I see: > > > > > > > > .....9:14:25,9:29:50,9:44:55 > > > > > > > > on a chart for EURUSD futures on CME. Why isn't AmiBroker reporting > > > > 9:15:xx,9:30:xx,9:45:xx ? > > > > > > > > To say nothing of the issue of the seconds being different on each > > > > interval. > > > > > > > > Is it safe to assume that AB is always under reporting the minutes by 1 > > > > for the given interval? In other words, can I safely parse out the > > > > minutes and add one to get the real interval? > > > > > > > > I also noticed that an hourly chart reports time in a weird way. It is > > > > 10:03pm EST. The last bar says 10:03pm. Fine. The prior bar says > > > > 9:29:xx, the bar prior to that 8:29:xx. Don't most charting apps use > > > > the convention of even hours? So that each bar is on an even hour > > > > interval? Isn't that pretty much standard convention or is there an > > > > option to change this in AmiBroker? > > > > > > > > Thanks. > > > > > > > > > >
