It's a + for short positions and a - for long positions.
Long - Cover Half - Stop loss to break even:
CXL ALLSYMB;Route=LIMIT;Share=Pos*0.5;Price=Bid-0.05;TIF=DAY+;SELL=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos-share;TIF=GTC;SELL=SEND
Short - Cover Half - Stop loss to break even:
CXL ALLSYMB;Route=LIMIT;Share=Pos*0.5;Price=Ask+0.05;TIF=DAY+;BUY=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos+share;TIF=GTC;BUY=SEND
Hey Justin,
For some reason this hotkey isn't working for me, or rather, it's working not as intended. It cover the correct percentag of the short and moves my stop loss to break even, but once the stop loss is hit it reverses my position to long. Any idea what could be causing this? pasted the script i'm using below. thanks!
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Most frequently used hotkeys
in DAS Trader Pro Tips and Tricks
Posted
Hey Justin,
For some reason this hotkey isn't working for me, or rather, it's working not as intended. It cover the correct percentag of the short and moves my stop loss to break even, but once the stop loss is hit it reverses my position to long. Any idea what could be causing this? pasted the script i'm using below. thanks!
CXL ALLSYMB;ROUTE=LIMIT;Price=BID -0.05;Price=Round2;Share=Pos*.25;TIF=DAY+;SELL=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos-share;TIF=GTC;SELL=SEND