Loss control
or exit on the other indicator (if it is really trading system traded manually).
or martingale but it will increase the risk of using of it.
or fibo/pivot
or suppoer/resistance by simple MA.
and so on ...
In anyway - you need to come back to the original system and try to trade it manually to understand the several levels of exit (by indicators levels, MA channel levels etc).
It is impossible to tell exactly without your source code of your scalper.
or look at this thread
https://www.mql5.com/en/forum/177643
as it was similar discussion from some time ago.

I am using an ea that is more of a scalper. Makes
Lots of small profit trades.
But need some idea to avoid loss that wipes out all gains
What can be used to control and minimize losses