Jump to content

fabio_crd

Member
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

fabio_crd's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • One Year In
  • Week One Done
  • One Month Later
  • First Post

Recent Badges

0

Reputation

  1. Alguém consegue corrigir o erro do martingale desse script, após um numero máximo de perdas o payout reduz mas n consigo colocar o martingale pra calcular o valor certo para obter lucros? var config = { bet: { label: "bet", value: 0.01, type: "number" }, payout: { label: "payout", value: 2, type: "number" }, maxLosses: { label: "maxLosses", value: 5, type: "number" }, }; var losses = 0; var initialBet = config.bet.value; var totalLoss = 0; var totalProfit = 0; function main() { game.onBet = function() { game.bet(config.bet.value, config.payout.value).then(function(payout) { if (payout > 1) { var profit = config.bet.value * (payout - 1); totalProfit += profit; log.success("Ganhamos, pagamento " + payout + "X! Lucro total: " + totalProfit); losses = 0; totalLoss = 0; config.bet.value = initialBet; config.payout.value = 2; } else { var loss = config.bet.value; totalLoss += loss; log.error("Perdemos, pagamento " + payout + "X! Perda total: " + totalLoss); losses++; if (losses <= config.maxLosses.value) { config.bet.value *= 2; // Dobrar a aposta } if (losses == config.maxLosses.value) { config.payout.value = 1.35; // Reduzir o payout config.bet.value = totalLoss / (config.payout.value - 1); // Ajustar a aposta para garantir o lucro } } }); }; }
  2. Who here knows about neural networks, knows how to do some type of implementation of this kind, and can say whether the gain rate is acceptable?"
×
×
  • Create New...