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

Re: Night Owl System



PureBytes Links

Trading Reference Links



Globex2 wrote:

> IF T=sess1starttime or T=sess2endtime then begin {both put here because of
> frustration}
>     if marketposition<0 then exitshort;
>     if marketposition>0 then exitlong;
> end
>
> Jon


Look at the time stamps of the first and last bar of the trading session.  They
are not usually the starting or ending times of the session.  Ususally 1minute
or more different.  On a 60tick bar chart, the opening bar gets a time stamp of
around 9:35 (EST).  Your statement should read:

if time >= sess2endtime AND time <= sess1starttime then exitlong/short on close;