Author Topic: What variable does tell me this information?  (Read 4296 times)

Tags:
  • All members
  • Posts: 20
What variable does tell me this information?
« on: 14 Feb 2011, 16:30 »
Hi,

Imagine I bet in three continuous games 20$ in every one. Then I lost all them (I have lost a total of 60$). But my total_won amount at the moment is equal to 100$.

Now I do a bet to recover that amount using last_lost variable (which value is 60) and then I win 3$.

I still have to recover 57$. But now the last_lost variable value is 0.

What variable does tell me I still have a lost of 57$?

Regards.

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: What variable does tell me this information?
« Reply #1 on: 14 Feb 2011, 18:19 »
Create my_loss trigger variable and add last_pl every game like this:
Code: [Select]
IF(my_loss+last_pl>0,0,my_loss+last_pl)Then recover using
Code: [Select]
back_size - my_loss(the value is negative)
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 20
Re: What variable does tell me this information?
« Reply #2 on: 15 Feb 2011, 06:10 »
Sorry, I don't know well how I have to declare the variable my_loss.

If I create a user variable called my_loss and assign its value to IF(my_loss+last_pl>0,0,my_loss+last_pl), in view variables window I see that the expression "IF(my_loss+last_pl>0,0,my_loss+last_pl)" is assigned to it literally (not the result of evaluating the expression), and every game it's assigned again creating a loop.

Please, could you tell me how I can declare this variable correctly?

Regards.

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: What variable does tell me this information?
« Reply #3 on: 15 Feb 2011, 11:01 »
See attached triggers.
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 20
Re: What variable does tell me this information?
« Reply #4 on: 17 Feb 2011, 04:32 »
Sorry, I have tried to load your trigger but I cannot. When I try to load it into X-Feeder the trigger screen remains empty and nothing happens, the trigger is not loaded.

Regards.

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: What variable does tell me this information?
« Reply #5 on: 17 Feb 2011, 10:02 »
It's a shame but I made it for MarketFeeder Pro.
Sorry.
This is for X-Feeder one.
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

 

Please note, BetFair is seems to be currently OFFLINE