Pages:
Actions
  • #1 by flyfly120 on 24 Jan 2010
  • just wondering how do I set lay bet  in poker
    1. liability 10% of your bank
    2. preflop favorite
    3. green up afterward

    *** no bet if the odd for the favorite are higher than 2.5***
    *** no bet if is the same suit and close to each other i.e. 4 n 6 of spades or 7 n 9 of clubs*****

    thanks!!!
  • #2 by Oxa (WellDoneSoft) on 26 Jan 2010
  • Hello,

    The answers to your questions can easily be found in the manual, but here are my answers anyway:

    > 1. liability 10% of your bank

    10% is 0.1 of a number. The size of available funds is returned by a variable test_funds if you are betting in Test Mode, or real_funds if you are betting in real money mode. Therefore 10% of the bank would be either:

    test_funds*0.1
    or
    total_funds*0.1

    To make it universal, you can write:

    IF(test_mode=1, test_funds, total_funds)*0.1

    The liability is calculated as amount*(price-1), therefore amount of your stake can be expressed as liability/(price - 1). The formula for liability is above. Thus the amount of the bet is:

    IF(test_mode=1, test_funds, total_funds)*0.1/(lay_price - 1)

    > 2. preflop favorite
    > 3. green up afterward

    See the trigger file attached.

    > *** no bet if the odd for the favorite are higher than 2.5***

    You have expressed everything you need in this sentence. All you have to do is just create the appropriate condition in the trigger:

    Selection's Lay Price is equal or less than 2.5

    Similarly to that you build the second condition. See the file attached.

    I should remark that it is a rare combination of conditions: I had my first bet placed after 23 games since I started refreshing the channel.
    To increase the frequency of betting you might raise the price limit from 2.5 to say 2.8.
  • #3 by flyfly120 on 26 Jan 2010
  • you are star!!!!!!
    thank you very much
  • #4 by flyfly120 on 01 Feb 2010
  • how come it only work for test mode??? i have tried the real mode but it doesn't place any money at all..... help!!
  • #5 by Oxa (WellDoneSoft) on 01 Feb 2010
  • Do you actually have money in your real account, and have you cheched the log file?
  • #6 by flyfly120 on 01 Feb 2010
  • have 150 in my real account, and been wait all night around 300 games didn't even place a single bet.
  • #7 by Oxa (WellDoneSoft) on 03 Feb 2010
  • I found an error in my trigger: instead of "real_funds" it should be "total_funds". See the new trigger file attached.
Pages:
Actions