Author Topic: consecutive losses  (Read 2329 times)

Tags:
  • All members
  • Posts: 107
consecutive losses
« on: 24 Jun 2018, 11:47 »
Hi,
How do i express "and last triggered races lost x amount of times" please.

  • All members
  • Posts: 24
  • Gender: Male
Re: consecutive losses
« Reply #1 on: 25 Jun 2018, 00:15 »
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.


  • Moderator
  • Posts: 3597
*
Re: consecutive losses
« Reply #2 on: 25 Jun 2018, 07:16 »
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
 
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: consecutive losses
« Reply #3 on: 25 Jun 2018, 14:02 »
I usually do this the way baronsamedi has described it, i.e. I keep the loss counter.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 107
Re: consecutive losses
« Reply #4 on: 25 Jun 2018, 18:31 »
My thanks to you all!

  • All members
  • Posts: 107
Re: consecutive losses
« Reply #5 on: 05 Jul 2018, 04:44 »
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

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: consecutive losses
« Reply #6 on: 05 Jul 2018, 09:43 »
Yes, e.g.:

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

See the IF function in Excel, it works the same way.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 107
Re: consecutive losses
« Reply #7 on: 05 Jul 2018, 17:56 »
Thank you, OXA.

  • All members
  • Posts: 107
Re: consecutive losses
« Reply #8 on: 05 Jul 2018, 20:01 »
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?

  • All members
  • Posts: 24
  • Gender: Male
Re: consecutive losses
« Reply #9 on: 05 Jul 2018, 20:12 »
can u post your formula?

  • All members
  • Posts: 107
Re: consecutive losses
« Reply #10 on: 05 Jul 2018, 20:36 »
IF(mylosses=3, multiplier1, IF(mylosses=6, multiplier2, If(mylosses=9, multiplier3, IF(mylosses=12, multiplier4, init_bet))

  • All members
  • Posts: 24
  • Gender: Male
Re: consecutive losses
« Reply #11 on: 05 Jul 2018, 20:51 »
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

  • All members
  • Posts: 107
Re: consecutive losses
« Reply #12 on: 05 Jul 2018, 20:56 »
Brilliant. Thanks.

 

Please note, BetFair is seems to be currently OFFLINE