Hi chilly.
I have this (it's working):
chance=49.5
multiplier=1.05
multiplier2=0.95
base=0.00001000
nextbet = base
bethigh = false
target = .0001
function dobet()
if win then
nextbet=previousbet*multiplier2
else
nextbet=previousbet*multiplier
end
end
Now i want to add reset bets function, same like you have in your strategy (reset when target balance is met)
In other words i want to start with 1 btc, startbet(0.00001000) target(0.00000100) when i make my target i want to automatically reset bets and start over with new balance.
Can you help me with that?
An alternative and maybe a better way to do this is to have a temp profit value, instead of saving and using the balance. When using such a temp profit value, it's independent of actions other than bets placed by the bot. For instance, if you're chatting on the site and send someone a tip while betting, or receive a tip or a deposit, it will not affect the betting.
chance=49.5
multiplier=1.05
multiplier2=0.95
base=0.00001000
nextbet = base
bethigh = false
target = .0001
tmpProfit = 0
function dobet()
tmpProfit += currentProfit
if win then
if (tmpProfit > target) then
tmpProfit = 0
nextbet = base
else
nextbet=previousbet*multiplier2
end
else
nextbet=previousbet*multiplier
end
end
Note: I didn't actually test this code, But it should work.
Note 2: This can be done with the advanced settings