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

RE: [amibroker] Herman's custom buttons and refresh



PureBytes Links

Trading Reference Links

I think Backtest will perform the same functions you want out of RefreshAll and if Apply To is set to the current symbol in most cases it will run faster than RefreshAll

 

Try it …

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Herman
Sent: Saturday, August 23, 2008 8:12 PM
To: murthysuresh
Subject: Re: [amibroker] Herman's custom buttons and refresh

 

It is better not to use the RefreshAll() at all, it is slow. However, if I remember correctly, there were some conditions that required the entire formula (including button-code before the clicked button) to be re-executed when a button was clicked. Else you are looking at a button panel that is only half refreshed after the button clicked. It could take, in your case another second, to refresh all buttons. For example, this would show up if you had many button columns and were collapsing the panel. The panel would collapse in two steps. Looks weird but no big problem.

 

I think Tomasz was going to look into a current-formula refresh only, which would be very fast.

 

Best thing is just to try it out, one second refreshes may be OK for you. 

 

herman

 

Saturday, August 23, 2008, 7:50:40 PM, you wrote:

 

> Herman. your code for the custom buttons has a builtin refresh command.

> my ab is set to refresh at 1 sec interval using prefreences. is there 

> any reason why i should be using the RequestTimedRefresh(1);

 

> does it mean my ab will refresh twice per second?

 

 

 

> ------------------------------------

 

> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

> http://www.amibroker.com/devlog/

 

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

 

> <*> Your email settings:

>     Individual Email | Traditional

 

> <*> To change settings online go to:

>     http://groups.yahoo.com/group/amibroker/join

>     (Yahoo! ID required)

 

> <*> To change settings via email:

>     mailto:amibroker-digest@xxxxxxxxxps.com 

>     mailto:amibroker-fullfeatured@yahoogroups.com

 

> <*> To unsubscribe from this group, send an email to:

>     amibroker-unsubscribe@xxxxxxxxxxxxcom

 

> <*> Your use of Yahoo! Groups is subject to:

>     http://docs.yahoo.com/info/terms/

 

 



I am using the free version of SPAMfighter for private users.
It has removed 532 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!
__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




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

__,_._,___