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

Re: EL Question



PureBytes Links

Trading Reference Links

There are a couple of 32-bit global variable utilities already in existence
that you could use with EasyLanguage.

With all due respect, I neither have utility names nor do I have contact
information.

The creation of the utility will definitely not originate from within
EasyLanguage.  Otherwise, I would have already created the technique.

I believe the technique is generic enough where one indicator column (
RadarScreen ) will be used to set the global value.  For example:
Value1 = SetGlblVal( GetSymbolName, Close ) ;
Plot1( Close, "Plot1" ) ;

Another indicator column ( RadarScreen ) will be used to retrieve the global
value.  For example:
if GetGlblVal( INDU ) <> 0 then
  Value1 = GetGlblVal( MSFT ) / GetGlblVal( INDU ) ;
  Plot1( Value1, "RltvStrngth" ) ;

The sample above assumes the both MSFT and INDU were plotted in the quote
window.

Getting price data directly from the server is more difficult because of the
lack of documentation or available information on the server API.


Best regards,

Benjamin Blanco,
EasyLanguageŽ Specialist
( former TradeStation Technologies, Inc. employee of six years )
http://www.blancofamily.net/ezlang.htm

EasyLanguage is a registered trademarks of TradeStation Technologies, Inc.

----- Original Message -----
From: "Romi Ghose" <r.ghose@xxxxxxxxx>
To: "Benjamin Blanco" <ezlang@xxxxxxxxxxxxxxxx>; <omega-list@xxxxxxxxxx>
Sent: Wednesday, September 04, 2002 1:17 PM
Subject: Re: EL Question


Hi Ben,
Once again thanks a lot for your prompt response.  Forgive my ignorance but
is "a global variable utility" (to store and fetch data from other rows),
already available in RadarScreen or is it a utility that needs to be created
or written in EL?....perhaps written by someone and available somewhere???
Also if I need to get into writing an external DLL, do you think it will be
possible to create one that can be generic enough to be referred to from EL
with something like:
value1=(MSFT,open,high,...volume,bid,etc);
or maybe something like:
value1=(MSFT,volume)+(CSCO,close)+......etc;
so that one may fetch any price data for any symbol that is available from
GlobalServer?
Take care,
Romi


----- Original Message -----
From: "Benjamin Blanco" <ezlang@xxxxxxxxxxxxxxxx>
To: "Romi Ghose" <r.ghose@xxxxxxxxx>
Sent: Tuesday, September 03, 2002 7:35 PM
Subject: Re: EL Question


> RadarScreen currently does not provide a means to create multiple data
> streams in one row.  You can create multiple rows but you will need a
global
> variable utility to store and fetch data from other rows.
>
> EasyLanguage currently does not provide a means to directly reference
price
> data from the server without going to an external DLL.
>
>
> Best regards,
>
> Benjamin Blanco,
> EasyLanguageŽ Specialist
> ( former TradeStation Technologies, Inc. employee of six years )
> http://www.blancofamily.net/ezlang.htm
>
> EasyLanguage is a registered trademarks of TradeStation Technologies, Inc.
>
> ----- Original Message -----
> From: "Romi Ghose" <r.ghose@xxxxxxxxx>
> To: <omega-list@xxxxxxxxxx>
> Sent: Tuesday, September 03, 2002 6:38 PM
> Subject: EL Question
>
>
> Is there a function in EL to get a security's price data directly without
> using the dataN syntax?  I am asking because:
> 1) I want to use this in an indicator for RadarScreen (and I am not sure
if
> I can use "data2, data3,...dataN" for N=50(max) for a RadarScreen
indicator
> as one can for a TS chart indicator).
> 2) I am hoping that if a EL function is there to get the price data
> directly, then it may not be limited to fetching a max of 50 price data
per
> indicator.
> As always will appreciate any help.
> Romi
>
> ps, FYI, there is something similar in MetaStock and the syntax is:
>
> security("SYMBOL",data array)..........example - security("CSCO",Volume)
>
> or if CSCO data is not in the same directory as the base/primary symbol's
> data, then:
> security("c:\...path\CSCO",Volume)
>
>
>
>