Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
seuntjie
on 16/08/2015, 07:19:26 UTC
I need a function of minimum betsize. I use a multiplier of 0.5 when winning. Sometimes the betsize reduces to zero. I want a function that the betsize is no lesser than the starting betsize.
How can I set it in the preset bot? Or how can I add it in the programmer's mode? Thank you.


Hm, a minimum and maximum bet option might not be a bad idea. I will implement something like that in the next version. In the mean time, you can do something like this:

Set up your martingale strategy in the advanced settings tab.
use this code in the programmer mode:
Code:
minbet = 0.00000001

--if you have stop or reset conditions set, uncomment the next line
--enablesrc=true

--if you use the built in zig zag options, uncomment the next line
--enablezz=true

function dobet()

nextbet = martingale(win)

if (nextbet nextbet=minbet
end

end