Allow Positive P&L Stop-Loss

Allow Positive P&L Stop-Loss

Currently, the P&L Exit Stop-Loss can only be set at a negative value.

Please allow us to set the Stop-Loss at a positive P&L value as well, so that an already-earned profit can be protected.

Example:

Current Total P&L: +₹3,000

I set:

  • P&L Stop-Loss: +₹1,500

  • P&L Target: +₹5,000

If the total P&L falls from ₹3,000 to ₹1,500, the system should immediately square off all positions and activate the Kill Switch if enabled.

If P&L rises to ₹5,000, it should square off based on the existing Target logic.

In short, the P&L Stop-Loss field should accept both negative and positive values.

This will allow users to manually lock an already-earned profit without requiring a separate trailing stop-loss feature.

2 Likes

https://madefortrade.in/t/p-l-exit-add-profit-protection-with-trailing/58871

I have been asking for the same MOST IMPORTANT feature for traders survival since long.

Request you to also comment on the old thread for better response

I completely support this feature request.

I also need this feature. If Dhan allows the P&L Stop-Loss to accept positive values, it will work much like an algo-based profit protection system.

Many traders manually lock in profits during the day. With a positive P&L Stop-Loss, we can protect already-earned gains while still giving trades room to move toward the target.

This feature is simple but extremely useful and would eliminate the need for a separate trailing stop-loss in many cases.

I hope Dhan adds this soon.

1 Like

Folks here, but does the existing P&L based exit even work ?? after setting a negative value for lossValue? has it actually exited all your open positions when that P&L reached? It hasnt worked for me eevn once!!! which is ridiculous, I have set the max profit n loss so many times and the API returns a proper successfully set response but it neever kicked in when p&l went 10 times more negative too. plz plz share your thoughts,