Protection of profit earned in trading after a defined limit

Hi @Macha, you should explore Trailing Stop Loss for same. More on that here: Introducing Trader’s Best Friend: Trailing Stop Loss on Dhan

Also welcome to Dhan community.