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

Re: ELA Help



PureBytes Links

Trading Reference Links

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.