Pages:
Actions
  • #1 by Trigger Happy on 17 Jul 2016
  • I would like to know how to reset my trigger after it has lost X amount of times consecutively.

    Thanks
  • #2 by MarkV on 17 Jul 2016
  • Hi
    That depends on whether your trigger repeats, involves loss recovery etc.

    the variable that counts consecutive losses is "losses"

    Generically you could use a trigger to:
    Action: reset win/lose history
    Action(s): set user variables to their default values
    Condition:
    selections trigger expression losses is equal or greater than x

    similarly you could reset the values of any variables and repeat the trigger block using a "close block" trigger, using the same condition as above:
    selections trigger expression losses is equal or greater than x
    here is an article on how to repeat triggers:
    http://marketfeeder.co.uk/learn/articles/how-to-repeat-actions-in-the-same-market/

    if you would like a trigger developer to look at your trigger and write it according to your spec, please post your request here:
    http://marketfeederpro.com/learn/triggers/trigger-development-service/
       
  • #3 by Trigger Happy on 17 Jul 2016
  • Hi Mark,
    thanks for the reply,
    I am using a lay trigger with loss recovery.
    Do you mean add a constant (which is set to a loss amount of times)
    ie: loss_counter and set it to 5 ?
    then write a trigger to check it?
    or a close block?

    thanks,
  • #4 by MarkV on 17 Jul 2016
  • Hi
    Thanks for describing the principle of your trigger.
    Please see in the manual the description for the losses variable:
    Triggered Betting > Reference > Variables > Win/Lose History > losses
    it automatically counts the number of consecutive losses.

    so for the amount field in your laying trigger I suggest something like this depending on what variables are used for the recovery amount (here I assume current_bet):
    IF(losses>5, initial_bet, current_bet)

    However, there are example staking plan triggers that are tested for correct operation and already do this and you could use one and adapt to your needs.
    http://marketfeederpro.com/learn/triggers/by-tag/tags/staking-plan/

    This one for example you just set the maximum bet amount in the constant, and if the recovery exceeds this amount the trigger resets to the initial amount
    http://marketfeederpro.com/learn/triggers/simple-staking-plan-lay/



     
  • #5 by Trigger Happy on 17 Jul 2016
  • Hi Mark,

    Top man  :D

    Thanks for the support ...

    best regards,
Pages:
Actions