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 ----- From: Tomasz Janeczko To: [email protected] 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 ----- From: Ara Kaloustian 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
