[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

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 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Saturday, August 05, 2006 11:04 PM
  Subject: RE: [amibroker] OLE automation: How to set Param/ParamStr/ParamDate value?



  No.

  d



----------------------------------------------------------------------------
    From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Mark H
    Sent: Saturday, August 05, 2006 11:01 PM
    To: amibroker@xxxxxxxxxxxxxxx
    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