Hello Guest

• 5 Replies
• 3895 Views #### Rams3s

• • 1
• +0/-0 « on: March 20, 2018, 11:57:45 pm »
Hello,

Do you know any martingale script that simply double in case of lose and add each time +1 base bet

Exemple:

bet 1 btc > lose > bet 2 btc +1 btc (so bet 3) > lose > bet 4+2 (so bet 7) > bet 8 btc +3 (so bet 11) > and so on...

Thank you ! #### Seuntjie

•     • 593
• +17/-3 « Reply #1 on: March 23, 2018, 12:48:35 pm »
Because you're not using your previous bet to multiply, you will probably have to use your streak and some exponents to calculate this. Here's a formula to calculate your bet, now you just need to insert it into a script with the correct code.
Code: [Select]
`chance=49.5basebet=0.0000000100 nextbet=basebetbethigh=trueenablezz=falseenablesrc=falsefunction dobet()if win then nextbet=basebetelsenextbet=basebet*math.pow(2,-currentstreak)-(currentstreak*basebet)endend`
NOTE: this code is untested and has no guarantee of working as you intend. Be careful and test it yourself

Please try to read through the code and learn how it works and what it does
« Last Edit: March 23, 2018, 12:50:55 pm by Seuntjie » #### Krypton

•  • 20
• +0/-0 « Reply #2 on: March 25, 2018, 07:32:00 am »
Because you're not using your previous bet to multiply, you will probably have to use your streak and some exponents to calculate this. Here's a formula to calculate your bet, now you just need to insert it into a script with the correct code.
Code: [Select]
`chance=49.5basebet=0.0000000100 nextbet=basebetbethigh=trueenablezz=falseenablesrc=falsefunction dobet()if win then nextbet=basebetelsenextbet=basebet*math.pow(2,-currentstreak)-(currentstreak*basebet)endend`
NOTE: this code is untested and has no guarantee of working as you intend. Be careful and test it yourself

Please try to read through the code and learn how it works and what it does

Seuntjies script gives following result ... pls start from bottom to top
(I will Post my script too in the next post  ... check that too .. it gives different result you can use what ever u want)

0.00000001  on winning of previous bet
0.00000264  on loss of previous bet
0.00000135  on loss of previous bet
0.00000070  on loss of previous bet
0.00000037  on loss of previous bet
0.00000020  on loss of previous bet
0.00000011  on loss of previous bet
0.00000006  on loss of previous bet
0.00000003  on loss of previous bet
0.00000001  START #### Krypton

•  • 20
• +0/-0 « Reply #3 on: March 25, 2018, 07:36:52 am »
Here is my script same as Seuntjies but may be easy to understand as to what you asked and how it is scripted
Please Note My script and Seuntjies script both gives different result ... check what you want and use that code accordingly
Screenshot is attached
Code: [Select]
`-- By Krypton-- Scripted for Learning Purpose only-- Please use at your own risk (there may be errors)-- Next bet is double the previous bet and then + ( basebet * losscount)chance=49.5basebet=0.00000001nextbet=basebetbethigh=trueenablezz=falseenablesrc=falselosscount=0function dobet() if win then losscount=0 nextbet=basebet      else losscount=losscount+1 nextbet=previousbet*2 nextbet=nextbet + (losscount*basebet) endend` #### HCP

• • 2
• +2/-0
• <insert witty comment here> « Reply #4 on: April 01, 2018, 12:54:26 am »
Here is my script same as Seuntjies but may be easy to understand as to what you asked and how it is scripted
Please Note My script and Seuntjies script both gives different result ... check what you want and use that code accordingly
The problem with your script is that you're doubling the previousbet and adding the losscount... unfortunately, because of the extra amount being added during the bet calculation, you can't just double the previousbet then add to it to get the results that the OP wanted... Seuntjie's formula is correct (NOTE: the OP's original description is slightly wrong... the 3rd bet amount should be 6, not 7)

Formula is: (basebet * 2loss streak) + (basebet * loss streak)

This would give bets as follows:

(1 * 20) + (1 * 0) = 1 + 0 = 1
(1 * 21) + (1 * 1) = 2 + 1 = 3
(1 * 22) + (1 * 2) = 4 + 2 = 6
(1 * 23) + (1 * 3) = 8 + 3 = 11
(1 * 24) + (1 * 4) = 16 + 4 = 20
(1 * 25) + (1 * 5) = 32 + 5 = 37
(1 * 26) + (1 * 6) = 64 + 6 = 70
etc #### Krypton

•  • 20
• +0/-0 « Reply #5 on: April 05, 2018, 08:19:16 am »
First thing first ... I am not at all recommending any one to use My script or Seuntjie script.  ... These scripts are  just for learning and understanding purpose ... Whatever query the original poster had put forward we 2 have given our different formula in the scripts ... Its up to him now to check what exactly he wanted is given by my script or Seuntjie's script.  I have given the results obtained from both scripts. He must respond now.
Regards

Here is my script same as Seuntjies but may be easy to understand as to what you asked and how it is scripted
Please Note My script and Seuntjies script both gives different result ... check what you want and use that code accordingly
The problem with your script is that you're doubling the previousbet and adding the losscount... unfortunately, because of the extra amount being added during the bet calculation, you can't just double the previousbet then add to it to get the results that the OP wanted... Seuntjie's formula is correct (NOTE: the OP's original description is slightly wrong... the 3rd bet amount should be 6, not 7)

Formula is: (basebet * 2loss streak) + (basebet * loss streak)

This would give bets as follows:

(1 * 20) + (1 * 0) = 1 + 0 = 1
(1 * 21) + (1 * 1) = 2 + 1 = 3
(1 * 22) + (1 * 2) = 4 + 2 = 6
(1 * 23) + (1 * 3) = 8 + 3 = 11
(1 * 24) + (1 * 4) = 16 + 4 = 20
(1 * 25) + (1 * 5) = 32 + 5 = 37
(1 * 26) + (1 * 6) = 64 + 6 = 70
etc