[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Why does it take so long to apply edits?



PureBytes Links

Trading Reference Links

Thomas,

Thanks.
Yes, I am calculating many arrays inside a loop, but I have limited them to 2000 bars each by parameter.  It is a bit much to post it at this stage.  Using TJ's suggestions the apply time is down to a minute.  Reducing my loops to 200 bars has reduced it to 40 seconds.

Best regards,
Dennis

On Sep 4, 2007, at 5:39 PM, Thomas Z. wrote:

Hello,
 
Maybe you are calculating a complete array inside a loop.
Post your loop to check.
 
Kind regards
Thomas
 
 
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Dennis Brown
Sent: Tuesday, September 04, 2007 11:25 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Why does it take so long to apply edits?
 

Hello,

I have noticed that the time it takes to apply an edit to my large 
indicator AFL takes a long but variable amount of time. It might 
take 15 seconds one time and 3 minutes another time. It usually 
takes about 2.5 minutes to apply an edit, though if there is a syntax 
error, it comes back right away. The AFL itself has an execution of 
about 1 second per pass and starts up right away from scratch.

I was wondering if there were any general rules that I should be 
aware of that would make applying edits faster and more consistent?

Another thing that is interesting is that if I click anywhere on the 
chart or UI while the edit is being applied, it runs even slower, and 
always resets all the params.

Insights anyone?

Thanks,
Dennis


__._,_.___

Please note that this group is for discussion between users only.

To get 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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___