Hello Herman,

Searched my saved messages and found below:

>From 8/24/08;

The one and only correct way to force refresh of given formula from the very
same formula

is to use RequestTimedRefresh(). It refreshes ONE and only formula. 

 

Using RefreshAll is huge overkill. It refreshes EVERYHING, including all
ticker lists, tree displays, dialogs, commentaries, interpretations, etc.

 

There won't be any "Scope" added to RefreshAll because it will be, like
RefreshAll already is, abused. RefreshAll already

has protection against brining the program down by implied infinite loops
generated by people calling it from indicators unconditionally.

I can't stop people from shooting themselves in the foot, but I can at least
disourage using RefreshAll as much as I can.


Best regards,
Tomasz Janeczko
amibroker.com

 

 

Jerry Gress

Stockton, Ca.

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Herman
Sent: Saturday, November 15, 2008 4:24 AM
To: AmiBroker User Group
Subject: Re: [amibroker] When does AmiBroker execute RefreshAll?

 

I found one reference by Tomasz on the feedback site: 

 

Symbol list refresh is also triggered automatically at the end of
exploration if you use

the following functions:

CategorySetName

CategoryAddSymbol

CategoryRemoveSymbol 

After using ATC in AA?

 

Can anyone complete the list?

 

With my DB (lots of categories and tickers) each RefreshAll executed by AB
(I do not call any RefreshAll() myself!) takes several seconds and
interferes with my OLE synchronization protocol. 

 

I want to prevent these RefreshAlls and am considering substituting all AB
WL functions with custom functions using Static and Persistent variables, so
that I can control when the AB RefreshAll takes place. To do this I need to
know which AB operations trigger the refreshes. Anyone been this road? 

 

thanks,

herman

 

 

Saturday, November 15, 2008, 6:59:31 AM, you wrote:

 


> 

Sorry, i know the answer was posted by Tomasz but i can't find it.

 

I need to know 'ALL' conditions that trigger an AmiBroker RefreshAll.

 

Would anyone know where this was posted?

 

Many thanks,

herman

 

 

Reply via email to