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

ExitLong and ExitShort in TS2000



PureBytes Links

Trading Reference Links

According to the help files I should be able to use the command:
   "  ExitLong 5 contracts this bar on close;  "

to exit 5 long positions.  When I use it (exact format) I find that it exits
all my long positions.  I can label each position seperately and exit using
the command:
"  ExitLong from entry ("MyTrade") this bar on close;  "

but it creates very poor code with 20 positions and 3 possible long entries.

Does anyone know what I might be doing wrong?  How can I just exit the last
X bars entered without naming each position?

John