Hi all,
I am testing a bot in the over 1.5 goals market. I want to record the win/loss in order and then from there then make a total stop loss for the day. So for example if 3 x losses occur for that day then stop. Does anyone know how I can do that?
How to record a win or loss
If you are interested only from counting loss and not amount, just create a SV=0 related to Bet Angel and add it to every .baf file or to every traded market , and point it to trigger when market is closed and if it's lost count +1. Then add a codition to every place bet rule to check if SV < 3 and that's it.
If you wish to stop if 3 loss in sequence, just make again SV=0 if you win...
Yeah, that’s the way I’d tackle it too – use a shared stored value to count losses. Increment it after each market settles and check it before placing any bets, stopping once it hits three. You can reset the counter after a win or at the start of a new day. There’s also a really handy step‑by‑step guide on the forum about using stored values and history lists that walks you through tracking wins and losses across markets. Worth a look if you haven’t already.
viewtopic.php?t=25455
viewtopic.php?t=25455
