I want to make a strategy that bets 0 untill 3 losses and then bets 0.00001. If win or loss then return to 0 but if loss then increase the 0.000001 * 2
If anyone knows how to do this then please let me know
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
chance= 47.5
base=0.0000000
test=0.00001
bethigh = true
function dobet()
if win then
base=0.0000000
nextbet = base
end
if lose then
if(first and !done)then
base=0.0000000nextbet = base
end
if(second and !done)then
base=0.0000000
nextbet = base
end
if(third and !done)then
nextbet = test
end
if(forth and !done)then
base=0.0000000
nextbet = base
test = test * 2
end
end
end