I was trying to implement a fibonacci progression and everytime i try to bet 0.00000001*3 it just stuck there. so i cannot move higher on a loss or lower on a win
below is the relevant part of my script, together with a screenshot of what happened
initbase=0.00000001
base=initbase
nextbet=base
---------------
---------------
--------------
function dobet()
if (win) then
if previousbet<=2*base then
nextbet=base
end
if previousbet==3*base then
nextbet=2*base
end
if previousbet==5*base then
nextbet=3*base
end
if previousbet==8*base then
nextbet=5*base
end
if (!win) then
if previousbet<=base then
nextbet=2*base
end
if previousbet==2*base then
nextbet=3*base
end
if previousbet==3*base then
nextbet=5*base
end
if previousbet==5*base then
nextbet=8*base
end
end
13358463981 10/20/2016 6:05:55 AM 0.00000003 True 49.50 22.37 -0.00000003 3937
13358463854 10/20/2016 6:05:54 AM 0.00000003 False 49.5 67.5 -0.00000003 3936
13358463747 10/20/2016 6:05:53 AM 0.00000003 True 49.50 21.67 -0.00000003 3935
13358463656 10/20/2016 6:05:52 AM 0.00000003 True 49.50 97.6 0.00000003 3934
13358463490 10/20/2016 6:05:51 AM 0.00000003 False 49.5 72.67 -0.00000003 3933
13358463347 10/20/2016 6:05:50 AM 0.00000003 False 49.5 0.11 0.00000003 3932
13358463155 10/20/2016 6:05:48 AM 0.00000003 True 49.50 27.88 -0.00000003 3931
13358463059 10/20/2016 6:05:46 AM 0.00000003 False 49.5 45.37 0.00000003 3930
13358462929 10/20/2016 6:05:45 AM 0.00000003 True 49.50 29.08 -0.00000003 3929
13358462782 10/20/2016 6:05:44 AM 0.00000003 True 49.50 99.13 0.00000003 3928
13358462648 10/20/2016 6:05:42 AM 0.00000002 False 49.5 58.51 -0.00000002 3927
Hi, If you don't mind me asking, why are you writing a Fibonacci script? The bot has it built in in the advanced mode. You can also access this function from the programmer mode using:
nextbet=fibonacci(win)
if you want to customize bets or add custom stop/reset conditions.
Re why it doesn't work: I'm not sure. I don't immediately see anything wrong with the script (although I mostly skimmed it). My guess is it might be a presicion error? Try printing out the previousbet, base*3 etc etc for every bet. That might give you some insight.
I don't mind you asking at all. i did it that way because i am a novice programmer and wanted to be able to manipulate my bet sizes, since i wasnt sure i can do it using existing functions. And i wanted to do other stuff once the progression is at the 8th or so....
i will go ahead and use this function
Thanks