Hi,
I am trying to distribute % of profit from one player to another and have tried modifying unequal greenup ones provided previously without success.
Here is an example with bets shown:
                odds   bet amount
Ferrer      1.45    5.00
Del Potro 3.15    7.33
Ferrer      3.25    5.00
The result after these bets would be
                   P/L             odds
                                   Back  Lay
Ferrer        -10.80       1.60  1.62
Del Potro     20.90      2.52   2.54
If the whole 20.90 was distributed then it would look something like this:
20.90 / (2.54-1) = 13.57 - 10.80 = 2.77
Thus
Ferrer    2.77
Del Potro 0 
I would like two formulas one for 'Lay Price' and the other for 'Amount' in the main body of trigger.
The end result should place 80% or 100% (not fussy) of the net profit on Ferrer.
Thanks if you can assist
R