+ Reply to Thread
Results 1 to 8 of 8

Calculate according to conditions

  1. #1
    Registered User
    Join Date
    11-27-2008
    Location
    Wales UK
    Posts
    18

    Calculate according to conditions

    see attached spreadsheet.

    I need two profit calculations done, firstly i need the macro to distinguish between the type of bets win which is identified in column I by "W" and place identified in the same column by "P". Then if the bet type is "W" i need it to divide 1 by the win odds in column G and then check the system results column J to see if it has won in this case and all win bets this will be identified winners in column J by a "W" if it loses it will be "L". For place bets i need it to divide 1 by place odds in column H, wins are identified by "P" and losses by "U".

    I also need it to automatically do full loss recovery so if the first bet i a win bet and it loses .50 i need it to stake enough to win 1.5 points basically every loss has all previous losses for that day added together and then add 1, once a winner is hit either by a place bet or win bet i need it to stop and go back staking to 1pt.

    I need the results displayed on a daily basis even if the last bet of the day loses start fresh the next day i need the results displayed in column L.

    I also need this done fully, by fully i mean pay no attention to the day e.t.c just to the bet type and results and display the results in column M

    I have manually done some calculations on the attached spreadsheet to help explain what i'm looking for.

    Thanks

    ian
    Attached Files Attached Files
    Last edited by ianmorris1977; 11-30-2008 at 06:48 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    I can't see from your examples how the Daily P/L is calculated. It is not the inverse of the odds for winning bets.

    Please post a link to your cross-post on Oz.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    11-27-2008
    Location
    Wales UK
    Posts
    18
    hi I thought my oz post had not been submitted will rectify that.

    daily pl is calculated as follows we start with 1 so lets say the first bet is a win bet we need to divide the 1 by the relevant win odds which will give us our stake if it loses and say the lost ammount was .50 then the next bet needs to have 1.5 divided by the odds depending on what type of bet it is. if that bet wins we get back our .50 that we lost plus 1 profit. we only ever profit by 1 per winner.

    hope this helps

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Clear as following a mudder on a go-kart, Ian. Whole sentences would help.

    If you win at 2:1, don't you win $2?

  5. #5
    Registered User
    Join Date
    11-27-2008
    Location
    Wales UK
    Posts
    18
    lol...wrote that one on my mobile so sorry about that. what you describe is level stakes betting. lets use your 2:1 as an example, my 1pt profit is equal to $1 therefore i look to win one pt, so at 2:1 i would need to stake $0.50 in order to profit by $1, however if it loses i would lose $0.50 and would then need to stake enough on the odds of the next horse to win $1.50, so if the odds were 3:1 i need to stake $0.50. Lets say that bet also lost we have lost $0.50,$0.50 the next bet needs to win $2 ($0.50,$0.50 and also $1 profit), the next horse is a place bet and the odds are .58:1 so we need to stake $3.45 because ($2 divided by 0.58 = 3.448) this bet wins so we win $2 and we take away $0.50 and $0.
    50 which we lost leaving $1 profit. After a win we revert back to staking to win $1.
    Last edited by ianmorris1977; 12-01-2008 at 06:37 AM.

  6. #6
    Registered User
    Join Date
    11-27-2008
    Location
    Wales UK
    Posts
    18
    Quote Originally Posted by shg View Post
    I can't see from your examples how the Daily P/L is calculated. It is not the inverse of the odds for winning bets.

    Please post a link to your cross-post on Oz.
    Hi SHG can you provide me with the link to my cross post as i have just logged into their forum and it shows no post relating to this thread at all????

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    I don't see it over there now either.

  8. #8
    Registered User
    Join Date
    11-27-2008
    Location
    Wales UK
    Posts
    18
    Hi SHG i thought it wasn't there it didnt seem to post in the first place.

    Do you now understand my requirments from my explanations?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1