Pages:
Actions
  • #1 by Alden on 14 Feb 2011
  • 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.
  • #2 by Tim (WellDoneSoft) on 14 Feb 2011
  • 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)
  • #3 by Alden on 15 Feb 2011
  • 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.
  • #4 by Tim (WellDoneSoft) on 15 Feb 2011
  • See attached triggers.
  • #5 by Alden on 17 Feb 2011
  • 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.
  • #6 by Tim (WellDoneSoft) on 17 Feb 2011
  • It's a shame but I made it for MarketFeeder Pro.
    Sorry.
    This is for X-Feeder one.
Pages:
Actions