Pages:
Actions
  • #1 by richpotter on 30 Jun 2020
  • hi all, what formula should I use to get commission included in loss recovery plan ?

    So in the trigger amount I have (bet_size*IF(test_mode=1, test_funds, total_funds)/100 + (last_lost/(back_price-1))) 

    which works but when we get a bigger losing run, the commission 5% means it does quite return the full profit
  • #2 by Oxa (WellDoneSoft) on 03 Jul 2020
  • Hello!

    So in the trigger amount I have (bet_size*IF(test_mode=1, test_funds, total_funds)/100 + (last_lost/(back_price-1)))
    Divide by (1-commission):

    (bet_size*IF(test_mode=1, test_funds, total_funds)/100 + (last_lost/((1-commission)*(back_price-1)))) 

    By the way, starting from the latest version, the formula can be simplified to:

    (bet_size*my_funds/100 + (last_lost/((1-commission)*(back_price-1)))) 
Pages:
Actions