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

Exiting M.O.C. intra-day charts



PureBytes Links

Trading Reference Links

I would like to exit on the close of the day session. I'm using  1 min
intra-day data. How do I check to see if I'm on the last bar of the day's
session? My code is below, but it doesn't work correctly.

If MP = 1 and Time = Sess1EndTime then begin
	If Condition1 then ExitLong all contracts at market;
end;

Thanks for the help.

Randy