Pages:
Actions
  • #1 by fumusic on 13 Aug 2020
  • Please help.
    I have a trigger with loss recovery.
    I would like the trigger to restart after a certain profit.
    So for example, I want the trigger to restart after profit of £10 and the initial stake is £2.
    After a few bets the profit is £8, so not quite enough to restart the trigger. The loss recovery goes into a few losing cycles so we are down by quite a bit. However, the loss recovery manages to recover a portion of the losses and we are actually £11 in profit overall now. The loss recovery has not completed its recovery cycles because there is actually more to recover. However, I want the trigger to restart the trigger and reset both the loss recovery and the profit so that the stake will start at £2 again and the trigger will restart at the next £10 profit.
    What is the variable I need to use?
    I know how to reset the profit/loss history globally but when I put a condition of market's profit being greater than £10, the trigger doesn't seem to work at all. I think it may be because the bank was already in profit when I added this condition. This is why I want the profit to be reset as well.
    Thanks for any help provided.
  • #2 by MarkV on 13 Aug 2020
  • Hi
    You are using recovery so I think you are looking for overall profit rather than an individual market's profit?
    total_won
    but check what it says in the helpfile with regards to your statement settings
    total_won will be reset to zero using reset win/lose history action

    so your betting trigger condition will be:
    and selections trigger expression total_won is less than 10

    reset win/lose conditions:
    no unmatched bets etc...
    and selections trigger expression total_won is equal or greater than 10
  • #3 by fumusic on 13 Aug 2020
  • Thanks Mark.
    I just realised that I have been using the correct variable and expression but I put down greater than £10 instead of less than £10. That's why the trigger wouldn't fire any bets!
    Thanks for putting me right.
  • #4 by fumusic on 13 Aug 2020
  • Hi Mark,
    Could you explain why the variable is less than £10 rather than greater than?
    I understood that the variable means that the trigger will only reset the profit won history if the profit won is greater than £10.
    If the profit isn't over £10 yet wouldn't the variable selections trigger expression total_won is less than 10 reset the profit history?
  • #5 by MarkV on 14 Aug 2020
  • Hi Mark, Could you explain why the variable is less than £10 rather than greater than? I understood that the variable means that the trigger will only reset the profit won history if the profit won is greater than £10. If the profit isn't over £10 yet wouldn't the variable selections trigger expression total_won is less than 10 reset the profit history?
    Hi
    Depends where you use the condition.

    In the betting trigger, you only want to bet if profit is less than 10
    and selections trigger expression total_won is less than 10

    In the reset win / lose history trigger, you only want that to fire if profit is 10 or greater
    and selections trigger expression total_won is equal or greater than 10
  • #6 by fumusic on 14 Aug 2020
  • thanks for clarifying
  • #7 by fumusic on 14 Aug 2020
  • One question about the total_won variable, does it take into account any losses in between the wins or does it just calculate all the wins?
    For instance, if the 1st win is profit of £8, then 2nd bet loses £5, 3rd bet wins £6.
    So total profits so far is £9, but total of both the wins is £14.
    So does total_won variable take the £9 ot the £14 as the total?
  • #8 by MarkV on 14 Aug 2020
  • in your example above total_won will be £9
    it is a running profit/loss
  • #9 by fumusic on 14 Aug 2020
  • brilliant! that's how I wanted it to work.
    Thanks again.
Pages:
Actions