custom the size of lot

 
Hi, everyone

I need a help to make my strategy in EA.
Is it possible to custom the size of lot right after a position get closed in loss?

for example
if Lot_1 is closed in loss, then open Lot_2
if the Lot_2 is closed in loss, then open Lot_3
if the Lot_3 is closed in loss, then open Lot_4
if the Lot_4 is closed in loss, then open Lot_5
if the Lot_5 is closed in loss, then open Lot_6
if the Lot_6 is closed in loss, then open Lot_7
if the Lot_7 is closed in loss, then open Lot_8
if the Lot_8 is closed in loss, then open Lot_9

and so

and if any position get closed in profit keep using Lot_1 till next loss

I tried and searched for a time but couldn't find a solution. Please help.
Reason: