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

Re: how to reference the last bar of a data set



PureBytes Links

Trading Reference Links

Hi Tim

The command you are after is :

if date = lastcalcdate then begin

Rgds Stuart



>From: "Tim McCaughey" <TimM@xxxxxxxxxx>
>To: "Omega List" <omega-list@xxxxxxxxxx>
>Subject: how to reference the last bar of a data set
>Date: Wed, 6 Oct 1999 09:22:57 +1000
>
>I would appreciate it if anybody on the list might be able to help me with
>this.
>
>I would like to send some system performance statistics to excel using
>FileAppend. At this stage I just want to send % profitable trades at the 
>end
>of a data set. That is when the system reaches the last bar of the data 
>set,
>to be able to send the % profitable figure to an excel spreadsheet.
>
>the question is how do I reference the last bar of the data set ? Say the
>last day of data is 26 July 99, is there a function that identifies the 
>date
>of a bar ?
>
>thanks in advance.
>
>regards
>
>Tim.
>