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

Re: DLL Question



PureBytes Links

Trading Reference Links

You do not specify the nature of the data in the database so it is hard to make suggestions.

Some of the ways I have used include:

  > Creating a fake data stream and adding that to a chart as a second data stream.

  > Processing the data to create an EasyLanguage file that you can copy/paste into an EasyLanguage function which will load the data into arrays at CurrentBar = 1. See the example below.

Bob Fulks

------------------------

Input: Sym(String);

Array: S[200](""), xD[200](0), Sh[200](0);

Vars: Init(TRUE), j(0), Shares(0), Found(FALSE);
 
if Init then begin
   Init = FALSE;

   S[0] = "$CASH";  xD[0] = 0000000;  Sh[0] =  286392;
   S[1] = "$DJX.X";  xD[1] = 0000000;  Sh[1] =  0;
   S[2] = "$MID.X";  xD[2] = 0000000;  Sh[2] =  -100;
   S[3] = "$NDX.X";  xD[3] = 0000000;  Sh[3] =  0;
   S[4] = "$RUT.X";  xD[4] = 0000000;  Sh[4] =  -300;
   S[5] = "$SPX.X";  xD[5] = 0000000;  Sh[5] =  0;
   S[6] = "ACO";  xD[6] = 0000000;  Sh[6] =  0;
   S[7] = "ALVR";  xD[7] = 0000000;  Sh[7] =  0;
   S[8] = "AMHC";  xD[8] = 0000000;  Sh[8] =  0;
   S[9] = "ASGR";  xD[9] = 0000000;  Sh[9] =  0;
   S[10] = "BBX";  xD[10] = 0000000;  Sh[10] =  1300;
   S[11] = "BBY";  xD[11] = 0000000;  Sh[11] =  0;
   S[12] = "BCSI";  xD[12] = 0000000;  Sh[12] =  0;
    ....

end;


At 11:46 AM 7/7/2004, Blair Carruthers wrote:

>I have a database external to TS2000i that I want to access in a study.
> 
>I assume that I will have to use a DLL to interface between Easy
>Language and the external world (Database).
> 
>Any suggestions on what to use?
> 
>Do I have to Beg, Borrow, Steal, or Build my own?
> 
>Any help or suggestions appreciated.
> 
>I am on the Digest version, so you can respond directly to me at
>b.carruthers@xxxxxxxxxxxx
>