@KyleK29 Say I'm already in a trade and I'd like to set a stop loss at a fixed dollar amount ... say, -$300. Whatever my current position size is, the stop loss will trigger as soon as I'm down -$300. I've tried the following script, but I get an "Invalid Operator" error.
ROUTE=STOP;StopType=Market;StopPrice=((Pos*AvgCost)-300)/Pos;Share=Pos; TIF=DAY; SELL=Send
The equation I have for the StopPrice is valid, but I suspect DAS doesn't like anything that complicated. Could I modify your 'dynamic share calculation' script to make this work?