Max loss also includes previous trade pnl. How to keep it to current trade only?

I have a strategy that exits the trade when max loss crosses -750. It also has a trailing SL. Today my first trade yielded profit of Rs 230. In the next trade it exited with a loss of Rs 980. I think it has taken the last trade profit into account for calculating the max loss. Is there a way I can keep the max loss to current trade only?

Note: the exit condition is based on pnl and set in universal exit only. I want the counter to increment every time a new trade is taken

Max loss calculated at strategy level. So it considers only current counter. If you exit strategy through universal exit it should work fine as it considers max loss only in that counter. Every time you exit through universal exit, counter gets changed