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

Re: Metastock dev kit



PureBytes Links

Trading Reference Links

1. VB cannot do that directly, since it cannot generate a "true" 32 bit DLL.
The manual makes reference to a 3rd party compiler that takes VB code and lets
you generate the proper DLL.  C, C++, Delphi, etc. do let you do this.

2. You cannot access metastock functions (other than the file library) from
within the DLL.

3. Your testing system can get as fancy as you want.

Note that there are two major components to the Dev kit:
I) a set of functions that let you extend MS by building DLLs
II) a set of functions that you can call from another program (e.g. VB) that
give you read access to MS data.  This would normally NOT be a DLL.


Sean Taylor wrote:

> Hi,
>
> Anyone out there using the Read only version of the dev kit with VB 6.0?
>
> I'm considering purchasing it if it allows me to do the following:
> Write functions that access multiple or specific securities that can be
> called from within Metastock EOD.
>
> Examples:
> a) I want to know whether Gold is higher today than 10 days ago and
> incorporate this in a system.  Write the function in VB and call it from
> Metastock.
> b) I want to back test a system using Open+y% entry conditions.  Write the
> system as a function in VB returning the equity line with other
> characteristics available via exported variables? or functions?  Use the
> function in the explorer or an expert adviser.
>
> Does this all sound feasible?
> Can VB6 generate an external dll for Metastock?
> Can I use metastock functions from within VB? (I think not but ask anyway)
> Can I access other metastock external functions from within VB (i.e. CPR)?
> How would an external function pass multiple values back to metastock?
>
> Thanks,
> Sean
>
> P.S. I used to be a C programmer (12 years ago) under Unix.