I had some luck slowing things down by putting ibc.sleep(n); in my 
code, where n is about 100.  But perhaps this is not the best way to 
prevent AB from taking up all of the CPU?  Is there a way to limit 
CPU use within AB or by program or by window?  Thanks!



--- In [email protected], "cstrader232" <[EMAIL PROTECTED]> 
wrote:
>
> Thanks AL, but that's not it.  The box is already unchecked.
> 
> 
> --- In [email protected], "martinod" <amartinod@> wrote:
> >
> > Hello,
> >  
> > I have the same problem.
> >  
> > Before you close the AA window uncheck the "Run Every  x min"  
> checkbox.
> >  
> > Regards,
> >  
> >  
> > AL,
> >  
> > -----Message d'origine-----
> > De : [email protected] [mailto:[EMAIL PROTECTED] 
> De la
> > part de cstrader232
> > Envoyé : mardi 11 avril 2006 16:30
> > À : [email protected]
> > Objet : [amibroker] AFL runs after TWS stops
> >  
> > I frequently get into a situation of AB running in the background 
> and
> > yet I 
> > cannot bring up the chart panes, because my CPU use gets to 
100%.  
> Debug
> > 
> > shows that AFL is stil running.  So one way is to simply shut 
down 
> AB 
> > through the Windows Task Manager.  But another way to stop AB 
> running
> > would 
> > be to close TWS, right?  WRONG.  AB keeps running after TWS is 
> closed.
> > 
> > OK, I'm puzzled.  I thought that AFL ran once for each RT data 
> read.  If
> > 
> > there's no RT data read, why is AFL still executing?  BTW, this 
> does not
> > 
> > happen if I open the AFL with TWS closed -- only if TWS closes 
> after AFL
> > is 
> > already going.
> > 
> > Thanks
> > 
> > 
> > ----- Original Message ----- 
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, February 25, 2006 8:50 AM
> > Subject: [AmiBroker-at] New poll for AmiBroker-at
> > 
> > 
> > >
> > > Enter your vote today!  A new poll has been created for the
> > > AmiBroker-at group:
> > >
> > > This poll will determine whether to run a series of
> > > posts on Automated Trading (AT). Topics would be from the
> > > ground up and driven by the reader. Participation at any
> > > level, such as development of code and papertrading,
> > > would be welcome.
> > >
> > > If you have a system you would like to automate and share
> > > with the list please email me at
> > > psytek at magma dot ca.
> > > Herman van den Bergen
> > >
> > >  o I am using AT without problems
> > >  o I still have many problems using AT
> > >  o I don't know why I should use AT
> > >  o I have a system I like to automate
> > >  o I would like an "Intro to AT" series
> > >
> > >
> > > To vote, please visit the following web page:
> > > http://groups.yahoo.com/group/AmiBroker-at/surveys?id=1506575
> > >
> > > Note: Please do not reply to this message. Poll votes are
> > > not collected via email. To vote, you must go to the Yahoo! 
Groups
> > > web site listed above.
> > >
> > > Thanks!
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > 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 other support material please check also:
> > http://www.amibroker.com/support.html
> > 
> > 
> > 
> > 
> > 
> >   _____  
> > 
> > YAHOO! GROUPS LINKS 
> >  
> > *          Visit your group "amibroker
> > <http://groups.yahoo.com/group/amibroker> " on the web.
> >   
> > *          To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
> >   
> > *          Your use of Yahoo! Groups is subject to the Yahoo! 
Terms 
> of
> > Service <http://docs.yahoo.com/info/terms/> . 
> >  
> >   _____
> >
>







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

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

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

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



Reply via email to