PureBytes Links
Trading Reference Links
|
Herman,
Can you break up your slow code so that only one phase of it is
executed each pass? You would have to save partial results in static
variables, and start over at critical points, like a new bar or such.
If you can do that, then you can have the GUI code executed every
phase. This will speed up the UI process greatly.
BR,
Dennis
On Oct 29, 2009, at 8:47 PM, Herman wrote:
> I have a system that runs some modules that executes rather slowly,
> about 0.5sec/pass but that has a gfx GUI (mostly buttons) that
> executes
> fast and the needs to respond quickly to mouse clicks for trading.
> What
> happens is that some clicks are missed and also that my GUI (gfx)
> refreshes very slow, sometimes half my buttons refresh first, then the
> slow code executes, and then the remainder of my buttons refresh.
> Irritating to work with.
>
> My Question: If I run two instances of Amibroker and use one
> exclusively
> for my GUI and the other for my slow code (Since my GUI is in a
> floating
> window I can organize the two AB Instance to appear like one). Would
> the
> execution of my GUI be super fast or would it still be effected by the
> slow code running on the other AmiBroker instance? I can handshake the
> two systems using persistent variables. I run an Intel Core2 Quad
> Processor.
>
> Many TIA,
> herman
>
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
|