Hi,
how can i wite an programm with the labouchere? I dont get it how to implement the method. can you give me a hint?(can i see what is behind the function?)
above you say you need to set the value. but do i need a string??It is not a double?
you can use labouchere(win:bool) where the win parameter indicates whether it should calculate the next value based on if the previous bet was a win (true) or not (false). this function returns what the next bet woul be in that situation. So typical use would be nextbet=labouchere(win)
What the function basically does is take the labouchere settings you have set the advanced mode and caclulates the next bet as if you were using labouchere in the advanced mode. If you want the more technical specifics of how that is done, you're welcome to go look at the code (
https://github.com/Seuntjie900/DiceBot/blob/master/DiceBot/cDiceBot.cs). If you're lookong for more details on what labouchere is and how it works, take a look at
https://bot.seuntjie.com/BettingSystem.aspx?id=2The labouchere values are a list of values. not just one. That's why you cant use a double to set the value. More specifically, the values are a list of ? seperated values. so <value1>?<value2>?<value3>?<value4>?<value5>?<value6>
Thx Seuntjie for you answer.
I got it.
One Question if i use this:
one=balance*0.00001
two=balance*0.00002
Labvals='one?two'
setvaluestring=('LabValues'.'Labvals')
i get some error message for Labvals. What i am doing wrong?