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

Re: [amibroker] Opps, Refresh All programmatically?


  • Date: Sun, 07 Mar 2010 00:42:22 +0100
  • From: Tomasz Janeczko <groups@xxxxxxxxxxxxx>
  • Subject: Re: [amibroker] Opps, Refresh All programmatically?

PureBytes Links

Trading Reference Links



Hello,

RequestTimedRefresh function is preferred and way more efficient method to force refresh of chart.
RefreshAll is overkill. Among other things it REFILLS symbol lists (tree/combo boxes) and due to the fact that Windows Controls
are slow, it is not recommended to use RefreshAll unless you in fact want to refill the SYMBOL list/tree/combo.

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-03-06 23:24, wavemechanic wrote:


Here is what I use as an include file to refresh synched charts which may get you going:
 
procedure pRefreshSynchedCharts()
{
    AB = CreateObject ( "Broker.Application" );
    AB.RefreshAll();
}
pRefreshSynchedCharts();
 
Bill
 
----- Original Message -----
Sent: March 06, 2010 11:35 AM
Subject: Re: [amibroker] Opps, Refresh All programmatically?

Oops; I did not mean "Reset All", but instead "Refresh All", as in View>Refresh All.
My reason for wanting to do a "Refresh All", is to reset the display of a Watchlist so it is displaying the most recent contents after I programmatically load it from a list of stocks.

In light of this new revelation, does anybody have any ideas?
Thank you.
-- Keith

On 3/4/2010 00:04, Keith McCombs wrote:
 

Is there any way to do a Reset All from within .afl? How about jscript
or any other way?

Thanks
-- Keith





__._,_.___


**** 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___