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

RE: [amibroker] Re: AFL runs after TWS stops



PureBytes Links

Trading Reference Links

For each chart displayed ALL bars are recalculated (within the bounds of
quick AFL anyway) once per any new piece of data. In one minute you will
get many new pieces of data, possibly once per second depending on your
settings.

Charts not displayed will NEVER update until they are displayed.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of cstrader232
Sent: Tuesday, April 11, 2006 17:13
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: AFL runs after TWS stops

OK, I'm obviously missing something.  When I have -say - 1 minute 
bars and no RT data, if I move the cursor across the bars I thought 
that AFL would execute once each bar.  Once it executed for that bar 
it would stop until there was a new bar.

When RT data is connected, I thought that AFL executed every time 
there was a data refresh from IB.  If there were no data refreshes I 
figured that AFL would not execute.  Obviously this is not correct, 
but I'm not sure why.  What causes AFL to execute other than:

1.  New bar
2.  New RT data
  

Thanks!


--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxx> 
wrote:
>
> Hello,
> 
> Sorry but I don't understand  why you expect AB to stop running 
when you close TWS.
> These are two separate applications running separately. The fact 
that they talk to each other
> does not mean that they can not exist without each other.
> 
> You should first check your formulas' timing (Tools->Misc->Display 
chart timing) 
> If your formulas are overly complicated it may be the reason of 
your problems.
> Simplify, simplify...
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
>   ----- Original Message ----- 
>   From: cstrader232 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Tuesday, April 11, 2006 4:30 PM
>   Subject: [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: <AmiBroker-at@xxxxxxxxxxxxxxx>
>   To: <AmiBroker-at@xxxxxxxxxxxxxxx>
>   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 
> 
>     a..  Visit your group "amibroker" on the web.
>       
>     b..  To unsubscribe from this group, send an email to:
>      amibroker-unsubscribe@xxxxxxxxxxxxxxx
>       
>     c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service. 
> 
> 
> --------------------------------------------------------------------
----------
>







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



 




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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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