sean.gummer
New member
I am trying to create an order set for backtesting that incrementally closes a position and having some difficulty.
Example: Buy to Open with a trade size = 2. I would like to Sell to Close with trade size = 1 once the price rises 1% and Sell to Close with trade size = 1 once the price rises 4%.
I have tradeSize = 1 in both sell to close order scripts, but it closes the entire position with the first sell to close order.
Does anyone know how to incrementally close a position?
Example: Buy to Open with a trade size = 2. I would like to Sell to Close with trade size = 1 once the price rises 1% and Sell to Close with trade size = 1 once the price rises 4%.
I have tradeSize = 1 in both sell to close order scripts, but it closes the entire position with the first sell to close order.
Does anyone know how to incrementally close a position?