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

RE: [amibroker] Amibroker OLE (automation)



PureBytes Links

Trading Reference Links

Am I supposed to guess what it was ?

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Louis Préfontaine
Sent: Friday, May 23, 2008 12:21 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Amibroker OLE (automation)

 

Hi,

Dennis: I will check AutoIt; I hope it works...  But I'd like to know how to use OLE as it seems it could be easier.. but I'll check for sure!

Fred: I ran the code and there was an error message pop-up...

Thanks for your help!

Louis

2008/5/23 Fred Tonetti <ftonetti@xxxxxxxxxxnet>:

Put these commands in a file that has a .vbs extension …

 

Set oAB = CreateObject("BrokerApplication")

Set oAA. = oAB.Analysis

oAA.Optimize(0)

 

You can then run this either by double clicking on it or by running it through Windows Scheduler

 


From: amibroker@xxxxxxxxxps.com [mailto:amibroker@xxxxxxxxxps.com] On Behalf Of Louis Préfontaine
Sent: Friday, May 23, 2008 11:22 AM
To: amibroker@xxxxxxxxxps.com
Subject: [amibroker] Amibroker OLE (automation)

 

Hi,

I don't know much about OLE.  I found this page http://amibroker.com/guide/objects.html  but so far it does not help me that much.

What I am trying to do is the following: since it is not possible to run Amiquote and optimization at the same time, I'd like to start optimization automatically 15 minutes after I retried the Yahoo current day quotes with Amiquote.

Anyone has any idea what a code doing that can look like?  It doesn't have to be very complicated; I would leave my AB interface open and ready to optimize; I'd only need some program to push the "optimization" button at a particular time!

Thanks,

Louis

p.s. If I have two AB windows opened, is it possible with OLE to choose one of the two and not the other one?  If this is possible, I could run Amiquote with one AB and run optimization with another database at the same time.  Is this possible?  Thx.

 


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

 



I am using the free version of SPAMfighter for private users.
It has removed 459 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

__,_._,___