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

[amibroker] Question: How to make the code run faster ?



PureBytes Links

Trading Reference Links

Hi, when I open a 1-minute chart with certain custom indicator, the CPU 
usage always rocket to above 90%, making it very inconvenient to move 
the crosshair on the chart, and do other basic chartings on the chart. 
When I run the same indicator on 5-minute chart, the speed is OK, CPU 
is operating at below 20%, it seems more bars on a 1-minute chart slow 
down the program.  I want to know is there a method to let the program 
operate faster ?  Or is it possible to let AB only calculate the value 
of the indicators in the visible bars ?



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/