Hello, Precisely. You should check your formulas. Probably you are using functions like Cum() cumulative sum over all bars and that leads to using all bars. The other option is that you are using loops instead of array processing. Try to rewrite the formula or limit the number of bars used. AFL Editor, Tools->Code Check And Profile will help you finding out timings of all code parts.
Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: "jooleanlogic" <joole...@hotmail.com> To: <amibroker@yahoogroups.com> Sent: Wednesday, November 25, 2009 9:43 AM Subject: [amibroker] Re: slow amibroker chart > Rink, this is a consequence of the amount of data you are requesting to be > processed. > The more you have, the slower it goes. > > When charting, Amibroker will only use as much data as is necessary to > correctly calculate the indicators you have plotted. E.g. > You might have half a million bars of data, but Amibroker might only need 500 > to display all your indicators properly so this will > render quickly. If it was to use the whole lot, then this would definitely > cause some lag. > In your case, it sounds like it might be requiring a lot of data. > > To find out, go to Tools->Preferences->Miscellaneous and turn on "Display > chart timing (advanced)". > Now you will see some status info displayed at the bottom of the chart. This > will tell you how many "# extra bars back" it is > using. It defaults to at least 30 and anything in the thousands or tens of > thousands is possibly cause to ask why. > > Regards, > Jules. > > --- In amibroker@yahoogroups.com, rink <boyri...@...> wrote: >> >> Hello all >> when i use 5min chart of a symbol which have 9 years data amibroker >> chart become so slow(means become so slow to go back when we roll mouse >> button) i tried to change database setting with high numbers of bars but >> it still slow, >> but when i change chart to 15min or higer it become fast >> >> tell me if there is any solution >> thank you >> > > > > > ------------------------------------ > > **** 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 > > >