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
