While we wait that Murray comes back, I have a problem that probably can be easily solved by anyone. TradersStudio's language is very similar to TradeStation's but I have a "big" problem with limit orders. I was doing some coding as exercise and had the idea of writing a system to trade inside days.
If today is an inside day I place an order to buy tomorrow 1 tick above today's high and a second order to sell 1 tick below today's low.
I also place the profit target for tomorrow and the next days. Let's say this target is 5 ticks. Too small for a profitable system in reality but it fits well in this example. If today is an inside day, it is likely that tomorrow one of the stop orders will be filled and also that the limit order above/under it will be touched exiting me from the position..... well, it does not happen ! The stop order is filled, let's say I am long, the profit target is hit, too, but the position is not exited at that price ( with the limit order ), it is exited only the next day on the open !!
I am sure I missed something. If someone could help ....
I tried everything ... my head is spinning !
Thanks a lot !

If today is an inside day I place an order to buy tomorrow 1 tick above today's high and a second order to sell 1 tick below today's low.
I also place the profit target for tomorrow and the next days. Let's say this target is 5 ticks. Too small for a profitable system in reality but it fits well in this example. If today is an inside day, it is likely that tomorrow one of the stop orders will be filled and also that the limit order above/under it will be touched exiting me from the position..... well, it does not happen ! The stop order is filled, let's say I am long, the profit target is hit, too, but the position is not exited at that price ( with the limit order ), it is exited only the next day on the open !!
I am sure I missed something. If someone could help ....
I tried everything ... my head is spinning !
Thanks a lot !
