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

Re: Calculating Last Intraday bar



PureBytes Links

Trading Reference Links

Hi,

If you need that in order to exit all open positions at the end of the day,
you can use EL reserved word SetExitOnClose.
Just insert it into your signal code. Looks like it does the job.

Andrey

----- Original Message -----
From: "Gray, Gabriel" <Gabriel.Gray@xxxxxxxxxxxxxxxxx>
To: "Gary Fritz" <fritz@xxxxxxxx>; <omega-list@xxxxxxxxxx>
Sent: Monday, July 21, 2003 11:12 PM
Subject: RE: Calculating Last Intraday bar


> Thanks to all who responded. The solution I found was to insert the same
> symbol into TS as a daily time compression and then:
>
> If close= close of data2 then begin
> Exitlong;
> Exitshort;
> End;
>
> Gabriel