Hello,
In addition to unchecking
"Force instant quote retrieval for all symbols"
box in File->Database
Settings-Configure,
Make also sure not to use old price chart formula
that was using LastValue() function (that causes all bars to be
required).
Instead use new price formula (without LastValue),
i.e:
SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open
%g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}",
O, H, L, C, SelectedValue( ROC( C, 1 ) )
)); Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
Best
regards, Tomasz Janeczko amibroker.com
----- Original Message -----
Sent: Thursday, April 14, 2005 12:25
PM
Subject: [amibroker] IB RT + Foreign() +
100% CPU Usage
hello group,
i recently ran into problems with
100% CPU usage running amibroker RT with IB plugin. i wondered if someone
could share some technical insight as to the tech specs needed for the type of
trading i am doing.
here is the
scenario:
i run amibroker pro RT with the
latest IB plugin. i switch between various layouts, which usually have 6
different windows open. one of these windows is my "statistics" formula which
references about 20, sometimes up to 40 different tickers via Foreign()
statements. the formula in itself does not include heavy calculating (i
think), no Cum() or other stuff, just some basic %change and loads of
WriteIf() and AlertIf(). - still it eats up 100% CPU usage all the time,
quite apparently because of all those Foreign() statements.
what type of machine would i need
to run this type of scenario?
my specs: AMD Athlon 1700+, 256
RAM, Win XP, ADSL 512/128, AB Pro RT with IB, 1min database, chart refresh at
20sec
specs needed ??
note that AB can actually do
this, my system does not hang up (for 6 and a half hours trading at 100% CPU
though) and i can trade the way i want to. but when switching between layouts
or alt-tabbing to another application, amibroker may take 5-20
secs.
so, what's the way? more
cpu? eSignal? is eSignal plugin less CPU-intensive?
thanks for any
insight,
dirk
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 other
support material please check also: http://www.amibroker.com/support.html
Do you Yahoo!? Yahoo! Small Business - Try
our new resources site!
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 other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
|