<https://forum.betinin2.co/topic/593-vitory-cycle-bets-with-multiplication/>
<http://schema.org/text>
"This script can help you exploer your betting strategy. I usually put the base bet.  The bet will reset when you win and looptimes gone.\n \n\n\n\t1. bet is the base wager\n \n\n\n\t2. payout is when you will run\n \n\n\n\t3. payoutgrowth is the multiples of growmth\n \n\n\n\t4. looptimes is most times you loss，then reset wager\n \n\n\n\t \n \n\n\n\twarning：you should find your best wager 、payout、payoutgrowth 、and looptimes，Otherwise you will lose all. Highly recommended to use jb test your number.\n \n\n\n\tIf it works, welcome tips me In game， or tip my eth address  0xE46E98Aa5c0372705297da147545d2F4813ec61a\n \n\n\n\tvar config = { \n\t      bet: { value: currency.minAmount, type: 'number', label: 'Wager' }, \n\t      payout: { value: 3.4, label: 'payout', type: 'number' }, \n\t      payoutgrowth: { value: 1.1, label: 'payoutgrowth', type: 'number' }, \n\t      looptimes: { value: 3, type: 'number', label: 'looptimes' }, \n\t      onLoseTitle: { label: 'else cofig', type: 'title' }, \n\t    }\n \n\n\n\tfunction main () {\n \n\n\n\t  var payout = config.payout.value; \n\t  var wager = config.bet.value; \n\t  var payoutgrowth = config.payoutgrowth.value; \n\t  var loop = 1;\n \n\n\n\t  engine.on('GAME_STARTING', function () { \n\t    engine.bet(wager, payout).then(function (res) {  \n\t        log.success('bet success!');\n \n\n\n\t    }).catch(function (err) {  \n\t        log.error(err); \n\t    }) \n\t     \n\t  }) \n\tengine.on('GAME_ENDED', function () { \n\t        wager =config.bet.value; \n\t        var historyfirst = engine.getHistory(); \n\t        var firstHistory = historyfirst[0]; \n\t        if (firstHistory.cashedAt &gt; 0 &amp;&amp; firstHistory.wager &gt; 0) { \n\t            log.success('we won', currency.currencyName); \n\t              loop = 1; \n\t        }else if (firstHistory.cashedAt == 0 &amp;&amp; firstHistory.wager &gt; 0) { \n\t            log.error('we lost', currency.currencyName); \n\t            if(loop &lt; config.looptimes.value){ \n\t                loop = loop + 1; \n\t                wager = wager * Math.pow(payoutgrowth, loop-1); \n\t            }else{ \n\t                loop = 1; \n\t            } \n\t         } \n\t    }) \n\t}\n "
<https://forum.betinin2.co/topic/593-vitory-cycle-bets-with-multiplication/>