You should create a structure searching for the last open lot size and catching it into a variable. Then, every time the EA is rerun, a new structure should modify the trade launcher to do it. Before you ask how that can be done, you shopuld share ytour project. It depends on your current structure.