Maths Excel Help Please

Please post any questions regarding the program here.

Moderator: 2020vision

Maths Excel Help Please

Postby pugs » Wed Jan 16, 2008 2:54 am

I am trying to write a trigger that will level profit/loss but i just can’t fathom out the maths.

IF(AND(-profit_loss>5, back_unmatched>=0), IF(lay_matched>0, -profit_loss/(r_ticks(lay_price,-1) -1), 2), 3)

The bet amount trigger above leave’s all profit/loss on all other selections, plus if I have laid 2 or more selections it needs to fire several times to remove excess liability. I have tried messing about with percentage calcs (lay price matched/lay price now) (lay amount/amount I need to lay) but I just keep hitting a brick wall. I need to insert my calculation in place of “-profit_loss” but is there a set formula for leveling profit/loss, and if so can anyone help. Please ignore the 2 and 3 at the end, I only put them there to fire fathom bets to cancel any unmatched.

Thanks for reading and any helpful advice.
User avatar
pugs
 
Posts: 469
Joined: Tue Feb 06, 2007 6:37 pm

Postby Captain Sensible » Wed Jan 16, 2008 3:51 pm

Pugs have a look at the formula posted by Uncle Ernie :wink: at

http://gruss-software.co.uk/forum/viewt ... highlight=

it'll show you you how to balance the profit acroos selections. Basically you have to treat things in terms of a 100% book and work out the payout for the selections by using the max and min figures from profit and loss to set the book payout.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby pugs » Wed Jan 16, 2008 7:44 pm

Captain many thanks, i would promote you to general but it sounds stupid :lol:

I haven’t actually got a clue how to use Excel so having the spreadsheet do the “max profit” calculation and insert it into my trigger is a no no, BUT that thread got my grey matter ticking over and i think i have stumbled across a formula for levelling profit that i can write directly into the trigger. So many thanks and good luck.
User avatar
pugs
 
Posts: 469
Joined: Tue Feb 06, 2007 6:37 pm


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 62 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.