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

Re: [amibroker] profiler checks and finds cci function most offending



PureBytes Links

Trading Reference Links

The timing is somewhat strange. The CCI is computationally intensive (with complexity
O(Range * NumBars )) but still your timinings are weird.

I have done check on 80000 bars with rather long-period CCI( 150 ) and it takes just 26 ms.

You have less bars in your example. What PERIOD of CCI are you using ?

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "murthysuresh" <money@xxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, August 22, 2008 3:21 PM
Subject: [amibroker] profiler checks and finds cci function most offending


> the cci function provided by afl seems to cause .5 seconds to 
> calculate. i find that to be astonishing.
> 
> here are the screenshots of the profiler showing the overall timing 
> with and without the cci.
> i am lost for words and dont know what to do as cci is a big part of my 
> charting exercise
> 
> http://screencast.com/t/NInZ3HQK with cci 
> http://screencast.com/t/Dlki7CxwJ without cci
> 
> 
> ------------------------------------
> 
> 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
> Yahoo! Groups Links
> 
> 
> 

------------------------------------

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
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/