@peterB @Justin
Hi Peter, Justin
I'm bringing this to the surface again. I'm currently in the trading simulator and I'm having the same issue as Rinran above. When I take partials either to the long/short side, my stop loss doesn't update with the number of remaining shares I have (in other words I don't want to go short/long in the opposite direction if the price goes back and hits my stop).
I've scouted the forums and can't seem to find the solution. Justin's hotkey above doesn't work for me, it just completely deletes the stop loss altogether. This is the script i'm currently using:
Long (sell 50%)
Route=LIMIT;Share=Pos*0.5;Price=Bid-0.05;TIF=DAY+;SELL=Send
Short (cover 50%)
Route=LIMIT;Share=Pos*0.5;Price=Ask+0.05;TIF=DAY+;BUY=Send
Any suggestions would be great!
Thanks,
Adrian