Okay this is a great bot and help me a lot for the things that i was trying to do manually.As a newb i play around a bit with programmer mode so far i could do something with my capability but i stuck now
I am looking to get an help from you guys with script.Here what i want to do ;
Let's say my dices goes for max. 30x red so instead of prerolls i want to have it like ;
for the first 10 red i want to use xx of my balance for martingale.
If dice still gives me a red for the next 10 (starts with 11th red) it should use xx of my balance again. (amount which covers all lost from previous 10 red )
If still no greed goes to last passage and for last 10 red it again uses xx of my balance. (amount which covers all lost from first 20 reds and gives me profit for the next 10)
If still no green it shouldnt go for 31th bet instead starts over.
If I understand correctly you're trying to limit your exposure by only using X amount of your bank roll for each 10 rolls, but for the 2nd and 3rd blocks of 10... the only way cover all the loses from the previous 10 rolls is to continue on the same martingale betting pattern (or higher!).
In other words, it's just a straight 30 rolls with increasing martingale bets and you either hit green or you don't... it's the only way to do it and break even when you hit the green. (Unless you are wanting to actually
increase the bets above the minimum required to break even in each block?)
For instance... say your first 10 reds at 2x payout, are the following bet amounts:
1-2-4-8-16-32-64-128-256-512...
The only way to cover those first 10 losses are to continue the same betting pattern in the second block:
1024-2048-4096-8192...524288
or something higher like:
2000-4000-8000-16000...1024000
You'd then have to do the same in the 3rd block... same betting pattern or higher.
In that case, you just need to figure out what the max loss you want over 30 bets is... then calculate what the starting bet should be so that you don't exceed that value over 30 consecutive losses. This is probably easiest to actually just create a spreadsheet that does the math for you... and you can modify the start bet and/or the payout multiplier and then have it calculate projected losses for X number of bets and you can simply adjust the values to see what you want it to be.
Here is a simple one that is only useful for a 2x payout (should be around a chance of ~49.5 for most dice sites):
https://docs.google.com/spreadsheets/d/10cC_ODRYde8nuWRMb4b5uQkI_-8uY37ktN5tjsf-CzM/edit?usp=sharingAs you can see... starting with a bet of just 0.00000001, you'd need a starting balance of 10.73741823 to be able to make 30 bets at 2x multiplier... and would make a profit of just 0.00000001 when you hit green!
NOTE: If you want to do other chance/payout values, you'd probably need to do a bit of editing to make the bet increases relate to the multiplier/payout properly.
So, I guess the real question, is what are you actually wanting to achieve by splitting into three different blocks of betting?