[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


Use the built-in function "LastBarOnChart"

Example:

If LastBarOnChart then begin....




 ---- you wrote: 
> 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.
>