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

Re: [amibroker] Time required for functions



PureBytes Links

Trading Reference Links

Tomasz,
 
I thought Quick AFL would adjust the number of bars to what is necessary.
 
I assume I need the same number of bars to compute indicators, regadless of time frame.
 
If my assumption is correct, then why does the number of bars increase?
 
Thanks
 
Ara
----- Original Message -----
Sent: Thursday, February 12, 2009 2:06 PM
Subject: Re: [amibroker] Time required for functions

There are less 15 min bars than 5 min bars. That's why.
 
When using LinRegIntercept make sure to use latest version (5.20) and if only possible
use scalar "period" (i.e. constant) - as it allows to internally enable certain optimizations that make function much faster.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
To: AB-Main
Sent: Thursday, February 12, 2009 9:58 PM
Subject: [amibroker] Time required for functions

When I switch time frames, the amount of time required per function changes drastically. Anyone understand why?
 
Execution times from    GetPerformanceCounter( )    function
 
 
Example:
 
Function                                  5 min Bars             15 min Bars
 
LinRegIntercept                         0.524 ms                  0.176 ms
 
 
ara


__._,_.___


**** 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/





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

__,_._,___