hi
i am not sure what you want to do, but if you want to make sure that you recover all your losses, then use a variable to maintain a maximum bank amount
new trigger
set user variable (max bank or the name you want) amount IF(test_mode=1,balance,test_balance)
condition
and selections trigger expression IF(test_mode=1,balance,test_balance) is greater than max bank
if you want to carry the loss over to the next day, then add the max bank to the constants and set to remember
this will keep a record of your bank balance.
so in you betting trigger you would have in the amount box
(your stake amount)+(max bank-IF(test_mode=1,balance,test_balance))
or if you only want to recovery a percent of the loss then
(your stake amount)+((max bank-IF(test_mode=1,balance,test_balance))*.10)
the .10 is for 10% of the loss, alter this to whatever you want
the other way is to use total_won,BUT in the general settings, account statement, set retrieve data that are not older than 0 days
this will only use todays profit and loss amounts
mcbee