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

Stop trading for the day: function?



PureBytes Links

Trading Reference Links

I'm writing some code to trade once only (1 contract only) a daytrade
system.

I can't figure out how to tell TS to NOT accept any further trades once the
first trade of the day, has been closed out.
I've tried messing with entrydate, barssinceexit, marketposition ..all to
no avail.

Can someone suggest the right code for ignoring all trades once the first
trade of the day, has been closed out?

Simon.