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

RE: [amibroker] average of top ranked tickers in a given watchlist



PureBytes Links

Trading Reference Links

It appears i was misinformed, I can detect one-second Refreshes even when
there is no data coming in using this code:
if( IsEmpty(Sec = StaticVarGet("SecondCount")))
StaticVarSet("SecondCount",0);
StaticVarSet("SecondCount",++Sec);
Title = "Elapsed Seconds: "+Sec;

The confusion was because (ofcourse) no new bars appear without data, so one
can't use bars to measure time. Sorry about the confusion.
best regards,
herman.


----------------------------------------------------------------------------
----

Would anybody know how to write an external script that would automatically
execute RefreshAll() (nothing else) at one second intervals?

I need an uninterrupted one second refresh, AB's RT Refresh is dependent on
the arrival of new data, like in pre-market hours there may be no refersh
for several seconds. My application requires a Refresh at least once a
second.

TIA,
herman



[Non-text portions of this message have been removed]



Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html



      Yahoo! Groups Sponsor
            ADVERTISEMENT





----------------------------------------------------------------------------
----
Yahoo! Groups Links

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

  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.



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/