Hi
In your backing trigger add the following condition:
global total won/lost amount is less than 5.00
if you use this condition your setting for your account statement must be set correctly to calculate the p/l for the day (not, say, 3 days)
or at the start of the day you could set a user variable, e.g. "bank" with the value: balance
and use a condition in your betting trigger:
selections trigger expression balance is less than bank+5
Optionally you can use a setting to stop all betting when the bank has reached x:
Settings > Betting Options > Banking > stop automated betting when the total bank has reached x