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

[amibroker] Methods for speeding up AFL code



PureBytes Links

Trading Reference Links

Hello,

I have run out of processing speed on my 2GHz core duo trading  
machine.  I do a lot of indicator computing and have bogged down AB  
to the point where it will no longer respond to the UI functions like  
cross hairs or switching timeframes when I click the buttons --or  
even being able to edit the AFL --and I still want to do 10 times as  
much as I am doing now.  The real time processing speed is inhibiting  
my creativity.

So far I have put in a parameter that limits the number of bars that  
my most intensive calculations use.  This helped, but not enough.

My next idea is to only compute some functions that do not change  
often only once per bar complete.

However, I still need to compute everything if I change a parameter,  
or switch stocks.  To do this, I thought I might have to keep a copy  
of every parameter and compare each one to the value when it was last  
computed --and set a "needs updating" flag if any have changed.

Has anyone else used this approach?
Any hints about what I need to watch out for?
Is there an easier way?

Thanks,
Dennis



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/