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.