Pages:
Actions
  • #1 by keith31 on 24 Jun 2018
  • Hi,
    How do i express "and last triggered races lost x amount of times" please.
  • #2 by baronsamedi on 25 Jun 2018
  • Hi, the way I do it is to have a 'set user variable trigger' which has the conditions: markets settled p/l is less 0,

    for example:

    set user variable,
    name = myloses

    then put value myloses + 1 globally

    so everytime a market loses you money, the myloses variable will add up.

    You would then need to set another trigger to act on the myloses variable when it reaches a certain number.

  • #3 by MarkV on 25 Jun 2018
  • Hi
    you could use the win/lose variable; losses
    "The number of your losses since the last win. If you won 2 events, then lost 4 events in a row, this variable will return 4. If you lost 3 events then won, this variable will return 0."

    and selections trigger expression losses is equal or greater than x
     
  • #4 by Oxa (WellDoneSoft) on 25 Jun 2018
  • I usually do this the way baronsamedi has described it, i.e. I keep the loss counter.
  • #5 by keith31 on 25 Jun 2018
  • My thanks to you all!
  • #6 by keith31 on 05 Jul 2018
  • Hi,
    Further to this, can i use a formula as a value, if mylosses = x, then multiplier 1, if mylosses = y, then multiplier 2,
    and a reset to init_bet
    Thanks
  • #7 by Oxa (WellDoneSoft) on 05 Jul 2018
  • Yes, e.g.:

    IF(mylosses=1, multiplier1, IF(mylosses=2, multiplier2, init_bet))

    See the IF function in Excel, it works the same way.
  • #8 by keith31 on 05 Jul 2018
  • Thank you, OXA.
  • #9 by keith31 on 05 Jul 2018
  • Hi again,
    Oxa, the example you've shown works perfectly, however, when i try to add multiplier3, multiplier4, etc, i get "error in trigger expression price or amount". Why is that?
  • #10 by baronsamedi on 05 Jul 2018
  • can u post your formula?
  • #11 by keith31 on 05 Jul 2018
  • IF(mylosses=3, multiplier1, IF(mylosses=6, multiplier2, If(mylosses=9, multiplier3, IF(mylosses=12, multiplier4, init_bet))
  • #12 by baronsamedi on 05 Jul 2018
  • ok the formula looks right but you need an extra 2 closing brackets as you now have 4 open ones:

    IF(mylosses=3, multiplier1, IF(mylosses=6, multiplier2, If(mylosses=9, multiplier3, IF(mylosses=12, multiplier4, init_bet))))


    every time you add the if(  you also need )  at the end
  • #13 by keith31 on 05 Jul 2018
  • Brilliant. Thanks.
Pages:
Actions