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

Re: EL Function Available?



PureBytes Links

Trading Reference Links

Bob Fulks wrote:

> At 9:51 PM -0800 12/29/97, Bill Vedder wrote:
>
> >Does anyone know how to access a stock symbol or name in EL?
>
> I use the following syntax in a print statement and it works well:
>
>     Print(..<any other data>........, GetSymbolName);
>
> Make sure your print line doesn't exceed the maximum length of a line. I
> forget what it is but if it is too long, it is truncated to the allowable
> number of characters without warning.
>

Stocks can be added to the list below if the commodity number
and stock symbol are listed below.
}
INPUTS: StochHi(90),
 StochLow(20),
 Len(14);

value1 = SlowKCustom(H, L, C, Len);
condition1 =  value1 crosses over StochHi;
condition2 =  value1 crosses under StochLow;

IF  condition1 or condition2  THEN begin
 Print(printer,"");
 Print(printer,"");
 If commoditynumber = 5035 then print(printer, "AAPL  ");
 If commoditynumber = 5005 then print(printer, "ADBE  ");
 If commoditynumber = 5002 then print(printer,"AMAT  ");
 If commoditynumber = 5004 then print(printer, "AMD  ");

   PRINT(Printer,date:6:0, Time:5:0, "  Stochastic=", value1:3:2, "  Closing Price=", C:4:2 ) ;
end;
Plot1(Value1,"SlowKCust");
Plot2(SlowDCustom(H, L, C, Len),"SlowDCust");
Plot3(StochLow,"Plot3");
Plot4(StochHi,"Plot4");






--
Demand Year 2000 Fix Delivery Date for Omega Products!!!
And a proper beta test of TS 5.0 before it is unleashed to the public!
Also fix the symbol universe settings in the server!!!
Please, send an email to  mailto:2000@xxxxxxxxxxxxx  and provide

1. Name of Registered User
2. Name of product
3. Block I.D. Number if product has one.
4. Include any comments you wish for Omega if you have any.