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

RE: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate value?



PureBytes Links

Trading Reference Links

boo hiss!  you should take a close look at autoit - it's very useful for
mouse clicks, lookinig for a particular window, etc. You don't have to use
the activex.
 
d


  _____  

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Mark H
Sent: Sunday, August 06, 2006 12:20 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate
value?


Thanks for all these ideas! (I haven't tried to flap my arms yet :-)
The AutoIT/ActiveX way takes more time since I am not familiar with VB.
A DLL plugin or ODBC is overkill for my purpose.
So I just used a plain file to transfer the parameters. To speed things up,
I use static variables in the formula to control file access and cache
values, so that it only needs to read the file once at the beginning of
BT/Explore.
 

----- Original Message ----- 
From: dingo <mailto:dingo@xxxxxxxxxxxx>  
To: amibroker@xxxxxxxxxxxxxxx 
Sent: Sunday, August 06, 2006 10:48 AM
Subject: RE: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate
value?




you could also fly if you flap your arms fast enough..
 
d


  _____  

From: amibroker@xxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx> ps.com
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tomasz Janeczko
Sent: Sunday, August 06, 2006 10:46 AM
To: amibroker@xxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx> ps.com
Subject: Re: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate
value?


Or... you can write a DLL plugin.
Or... write an Active X
Or... store your "dynamic" values in database and access them via ODBC
plugin 

Best regards,
Tomasz Janeczko
amibroker.com

----- Original Message ----- 
From: dingo <mailto:dingo@xxxxxxxxxxxx>  
To: amibroker@xxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx> ps.com 
Sent: Sunday, August 06, 2006 4:37 PM
Subject: RE: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate
value?

The way you describe is not that bad actually. 
 
A more efficient way would be to use "AutoIT"  www.autoit.com  to click the
buttons for you and enter the text.  It has an activeX component as well as
a dll that you could use within your script or you could call an exe that it
can build.
 
d


  _____  

From: amibroker@xxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx> ps.com
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Mark H
Sent: Sunday, August 06, 2006 12:05 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate
value?


Thanks dingo:
 
I am wondering what's the best way to pass parameters to a formula
dynamically from JScript.
A way to do it is through a file: the script writes some dynamic values to a
file and the AFL formula will reads and parses the file.
However, this would be slow and cumbersome. 
Any suggestion will be appreciated,
 
- Mark
 

----- Original Message ----- 
From: dingo <mailto:dingo@xxxxxxxxxxxx>  
To: amibroker@xxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx> ps.com 
Sent: Saturday, August 05, 2006 11:04 PM
Subject: RE: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate
value?




No.
 
d


  _____  

From: amibroker@xxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx> ps.com
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Mark H
Sent: Saturday, August 05, 2006 11:01 PM
To: amibroker@xxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx> ps.com
Subject: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate
value?


I am writing an automation script but couldn't find a way to set values for
Param/ParamStr/ParamDate etc. I can only use their default values.
Is there a way to set their values in JScript?
Thanks,
 
- Mark



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/409 - Release Date: 8/4/2006







--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/410 - Release Date: 8/5/2006







--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/410 - Release Date: 8/5/2006




 


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/410 - Release Date: 8/5/2006