hi
the best way is to have a variable to record the bank amount at the start of the day.
then your condition to stop betting would be
and selections trigger expression IF(test_mode=1,test_balance,balance) is equal or greater than (the varible name)*1.05
mcbee