ESB has two ways of managing target profit and maximum loss for grid systems.
MODE1 -> Every Position has its own TP/SL: In this mode, every position has its own Take Profit (TP) and Stop Loss (SL). This means that ESB sets a fixed TP and SL for every position and then waits for all positions to hit their TP or SL.
MODE2 -> Check Total Profit/Loss: In this mode, ESB uses a target overall profit and maximum loss for all positions combined. The grid is closed when the overall profit reaches the target or the maximum loss is reached.