Exit all entered quantity

I want to exit all my entered quantity, once exit condition meets.

For example the price is 100 rs for stock,I bought 100 qty. As price is going up, I have added 100 more. In this way I have added 400 qty of the stock.

Now once the condition meet, I want to exit all my entered qunatity.

What to be Fx in condition builder?
Or where should I put this?

Universal Exit may be the solution.

I have tried universal exit with pnl less than number formula. But it went into loop.
The reason for loop is as soon as I got the entry the exit condition was also satisfied.

1 Like

Please check with online support. If you get the solution please do post back.

If its SET level… then your exit condition will exit all the qty - and ideally, this logic should be there.
If not, have you tried net quantity ?? in qty fx