Pages:
Actions
  • #1 by slybee on 09 Sep 2012
  • I am wondering if it's possible to create a constant for trigger to stop betting after reaching certain amount of profit or loss?

    I don't want to use the one under the settings/bank.

    Anyone got an idea.

    Thanks all.
  • #2 by MarkV on 09 Sep 2012
  • Hi
    It's total_won in win/lose variables with the corresponding statement setting
    retrieve records that are not older than x days
  • #3 by 1oser on 10 Sep 2012
  • V6 had a section in the setting, "betting options" towards the bottom to stop after XX has been won/lost
  • #4 by londolozi on 15 Nov 2014
  • Will this work?

    I want to stop my entire betting if I am winning 5% of my bank for the day.
     
    First trigger in block.
    Action: Delete market
    Conditions: Global | Total Won/Lost Amount > total_funds * 0.05

    Account statement: Retrieve data not older than 0 days

    I have set this trigger as first in the block assuming the Global setting will delete every mar market in my market tree if I am up >5% of my bank.
  • #5 by rhodesv on 18 Nov 2014
  • Hi. I just want to ask please if the trigger works?
  • #6 by mcbee on 20 Nov 2014
  • hi londolozi
    that will not work, because your total_funds are always increasing/decreasing with wins/losses, so total_funds*.05 woul never be reached.
    you need to create a new trigger
    set user variable 
    name   sb
    valaue  IF(test_mode=1,test_balance,balance)
    no conditions
    one time only
    then is your delete trigger
    and selections trigger expression IF(test_mode=1,test_balance,balance) is greater than sb*(1.05)
    .05=5%

    mcbee
Pages:
Actions