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
www.patternexplorer.com


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Brown
Sent: Tuesday, September 04, 2007 11:25 PM
To: [email protected]
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



Reply via email to