I'm using v6.0.0.5 and simulation data. My code isusing these orders to exit an open long:
ExitLongStop(LongStopPrice, "LX_STP");
ExitLongLimit(LongTargetPrice, "LX_TRG");
I have Print statements showing when a long is open, and what the stop and target prices are. I've watched the chart a couple of times now as price hits and exceeds the limit order, but the position stays open. (I'm guessing the same behavior might be true for the stop but I haven't actually seen it.) Any suggestions?
Thanks.

Comment