Author Topic: Formulas  (Read 54105 times)

Tags:
  • All members
  • Posts: 207
Re: Formulas
« Reply #15 on: 26 Feb 2016, 09:57 »
Now trying

(((bm_backa*(bm_backp-1))*(1-commission))+ (bm_backa*.34))

Mike

  • All members
  • Posts: 207
Re: Formulas
« Reply #16 on: 26 Feb 2016, 12:42 »
Hi
Now I am really confused to test the conditions
if I use a figure and not a formula it works perfectly (I tried it with 5)
So I know the trigger works.
So I thought try to isolate what is wrong so I just used
bm_backa nothing happened then I tried just bm_backp
again nothing happened.
This seems to be so simple just want to use the potential return from the matched back bet as part of a
loss reduction lay bet. Then add 0.34% of my back stake using the constant I set  my_back for the back stake so that
should be +(my_back*0.34)
Mike

  • All members
  • Posts: 207
Re: Formulas
« Reply #17 on: 26 Feb 2016, 19:38 »
Think I know the problem so help would be appreciated.
All the terms I have used apply to the selection I think the problem is
I am backing selection 1 and I want to back selection 2 as a loss saver so when I use the
equation it has no value as selection 2 has not yet been backed.
I need the potential market profit... I think.
Mike

  • All members
  • Posts: 207
Re: Formulas
« Reply #18 on: 26 Feb 2016, 21:32 »
Hi
Ok so now I have added an action to create a user variable in my first back trigger using the equation
((bm_backa*(bm_backp-1))*(1-commission))+ (bm_backa*.33) to create the value back_2

Then I am using back_2 as the stake for the second back bet.

The loss cut has only fired once but it seems to have worked

Mike

  • Guest
Re: Formulas
« Reply #19 on: 05 Sep 2016, 19:02 »
Hi,

I am using a Kelly type formula as follows,

(((AverBsp*StrikeRate/100)-1)/(AverBsp-1)*(PrevBal*0.04))*(1+(backprice/100)).

It works pretty well. Has anyone got other Kelly type formulas I can test with.

Thanks

  • All members
  • Posts: 21
  • Gender: Male
Re: Formulas
« Reply #20 on: 14 Mar 2018, 20:23 »
Thank you for the formulae, I'm sure the topic will be popular!

But which of them do you think are not compatible with MF Pro?
Hi, Oxa
What is the formula for calculating a LAY stake in a certain market based on the value of the stake BACK, the backprice and the layprice so that if there is a GREEN of one of them, the profit will be equal?
In short: I would like the formula used on the back-lay calculator sites, but that I can enter the back and lay commissions.
Example: https://www.trickybet.net/lay-calculator
BO = backprice of Market1
BS = Back Amount on Market1
BC = Back Commission
LO = layprice of Market2
LC = Lay Commission
LS = Lay Stake on Market2 = formula?
LL = Lay Liability on Market2= formula?

Example:
BO = 2.20
BS = $10.00
BC = 6.5%
LO = 1.60
LC = 6.5%
==> LS = $13.40
==> LL = $8.04

Green on back / Red on lay ... profit = $2.53
Red on back / Green on lay ... profit = $2.53


Thank you very much in advance.

  • All members
  • Posts: 2
  • Gender: Male
Re: Formulas
« Reply #21 on: 19 Dec 2022, 21:56 »
Hi , what would be the formula for this :

initial bet size $10

if win: we add only initial bet size 


if loss : we go back to initial bet size 

 example W +10 , W +20 , W+30 , W+40 , L -50 , L -10 , L -10 , W +10 , W +20
and so on. Thanks in advance. 

  • All members
  • Posts: 2
  • Gender: Male
Re: Formulas
« Reply #22 on: 19 Dec 2022, 22:10 »
init bet  10

the_win+init_bet

is this correct ?

  • Moderator
  • Posts: 3585
*
Re: Formulas
« Reply #23 on: 21 Dec 2022, 10:15 »
Hi , what would be the formula for this : initial bet size $10 if win: we add only initial bet size if loss : we go back to initial bet size example W +10 , W +20 , W+30 , W+40 , L -50 , L -10 , L -10 , W +10 , W +20 and so on. Thanks in advance.

Hi
Try this in test mode:
IF(last_won>0, last_won+init_bet, init_bet)
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 154
  • Gender: Male
Re: Formulas
« Reply #24 on: 10 May 2023, 21:01 »
Tip if you prefer furlongs to metres (Win markets)

I prefer to work in miles and furlongs and to that end I create variables in my triggers which give me the race distance in miles and furlongs.  Whilst I understand you can use Market name contains "2m5f" or whatever, I find it cumbersome and long winded creating trigger conditions that way when several distances want covering.  The below will only work in win markets I believe.

Create a user variable (e.g. Dist_in_f) and set it to INTEGER(market_length/201.16)
Don't change the 201.16 to have more precision otherwise the result will always be 1f out.
This yields the race distance in furlongs.

I then use this variable in my triggers like so:

Selection's trigger expression Dist_in_f is in list 5,6,7,8

or

Selection's trigger expression Dist_in_f is less than 9

Obviously, dividing Dist_in_f by 8 and taking the integer will give you the number of miles in the race.
Dist_m    = INTEGER(Dist_in_f/8)

To see how many furlongs accompany the mile(s), Dist_f = Dist_in_f-(8*Dist_m)

Summary:

Dist_in_f    = INTEGER(market_length/201.16)
Dist_m    = INTEGER(Dist_in_f/8)
Dist_f   = Dist_in_f - (8*Dist_m)

regards

Wez

 

Please note, BetFair is seems to be currently OFFLINE