Hope you're all doing well in those difficult times.
I've been a Bet Angel user for a short while and this is my first post on this forum. So please be kind

I've figured out a lot of Bet Angel settings myself by looking at video's and doing research on this forum. But now I'm a bit stuck and would kindly call for your help.
I've made a servant that when placing a Back/Lay bet automatically places the green up bets at 20%. I use this IR-Horses. Works perfectly.
But like many people I sometimes lack the discipline to cut my losses when the trade goes against me. So I wanted to make a servant that does it for me

Maybe I should explain by an example. So for this example I'm doing a L2B IR Horses.
Let's say Horse X his price is 4.00 to Lay IR. So I press my L2B button on the One-Click screen. Automatically the Lay bet gets place at 4.00. My Lay bets are placed with Liability of let say £50. So I would have -£49,98 on the selected Horse X and would have £16.66 green on all the other horses.
But at the same time a Back bet at 20% of the initial Lay place get placed. So in this example @4.8. The stake gets calculated automatically to have equal green all over the book. This works perfectly.
I've also made a button to cut my losses manually when the trade goes against me. When pressing the "Close" button this cancels all my unmatched bets and spread the loss over the whole book for equal loss. Works perfectly.
But ... as I've mentioned in my introduction, the discipline to press this "Close" button is not always there

So I want to automate this "Close" button. Let's say that when the loss on the whole book is -30% of my liability. In this example the "cut off" point would be when the overal loss is -£15.
I've tried multiple setting but I just can't seem to get it working.
Thank you so much for your help.