@gousic-j You need a more complex structure to get that. The first thing you need is a counter variable controlling how many times a new trade is open with double lost size before reaching 7. Then you need you update the counter every time a new trade is open.
Simply forget that 'Bucket of trades' feature. You can get it just with variables.