You are on page 1of 1

baseBet = 0.

00000001; // set your base bet amount, amount different for coin type
nextBet = baseBet;
betHigh = true; // set bet over or under, true or false
chance = 49.5; // set your win chance, 1-98
min_chance = 1; // set your win min chance, 1-98
max_chance = 49; // set your win max chance, 1-98
min_chance_win = 1; // set your win min chance on win, 1-98
max_chance_win = 98; // set your win max chance on win, 1-98
min_chance_lose = 1; // set your win min chance on lose, 1-98
max_chance_lose = 49; // set your win max chance on lose, 1-98
risk = 1; // set profit risk
target_balance = 1000; // set target balance
lossAmount = 0;
rdlowhi = 1;

function doBet() {
if (balance >= target_balance) stopBot();
//chance = randomNumber(min_chance, max_chance);
if (win) {
// on win
nextBet = baseBet;
chance = randomNumber(min_chance_win, max_chance_win);
lossAmount = 0;
rdlowhi = randomNumber(0, 1);
if (rdlowhi == 0){
betHigh = false;
}else{
betHigh = true;
}
} else {
// on lose
chance = randomNumber(min_chance_lose, max_chance_lose);
lossAmount += lastBet;
nextBet = lossAmount/((99-risk)/chance-1);
if (nextBet < 0.00000001){
nextBet = 0.00000001;
}
}
}

You might also like