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

Re: ELA Help



PureBytes Links

Trading Reference Links

I have no idea when LastBarOnChart was introduced - I took a quick look and
could not see it in the documentation but it works in TS 4.0 Build 21.

'If LastBaronChart' and 'IF Date = LastCalcDate' should produce the same
results when working with end-of-day data.  With intra-day data date would
equal lastcalcdate prior to the last bar.

-----Original Message-----
From: dcountach <countach@xxxxxxxxxxxxxxxx>
To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Cc: Peter_Gibson@xxxxxxxxxxxxxx <Peter_Gibson@xxxxxxxxxxxxxx>
Date: June 5, 1998 9:14 PM
Subject: Re: ELA Help


>Please,
>What version of TS uses "LastBarOnChart" ??    How is this different (or
>better) than "IF Date = LastCalcDate "  ?
>
>TIA
>
>donc
>------------------
><
><
><Subject:          Re: ELA Help
><   Date:          Thu, 4 Jun 1998 08:02:18 -0700
><   From:         "Peter Gibson" <Peter_Gibson@xxxxxxxxxxxxxx>
><     To:          <omega-list@xxxxxxxxxx>, "Lee" <lbake@xxxxxxx>
><
><try this:
><
><Vars: Ind1(0),
> <          Ind2(0);
><
><Ind1=Average(Close,20);
><Ind2=Average(Close,5);
><
><If LastBaronChart then begin
><     for value1=5 downto 0 begin
><          Print(Date[value1]," ",value1," ",Ind1[value1],"
>",Ind2[value1]);
><     end;
><end;
><
><In this case program waits until the last bar and then prints out last
>6
><,values of selected indicator.
>
>
>
>
>