Bitcoin Forum
June 03, 2024, 07:08:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help with custom betting strategy  (Read 210 times)
FluffyFriendly (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
April 14, 2016, 02:33:22 PM
 #1

I want to make a strategy that bets 0 untill 3 losses and then bets 0.00001. If win or loss then return to 0 but if loss then increase the 0.000001 * 2

If anyone knows how to do this then please let me know Smiley
Code:
chance= 47.5
base=0.0000000
test=0.00001
bethigh = true
function dobet()
if win then
base=0.0000000
nextbet = base
end
if lose then
if(first and !done)then
base=0.0000000nextbet = base
end
if(second and !done)then
base=0.0000000
nextbet = base
end
if(third and !done)then
nextbet = test
end
if(forth and !done)then
base=0.0000000
nextbet = base
test = test * 2
end
end
end
Art3mis
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
April 14, 2016, 03:09:12 PM
 #2

What program language do you need it in?
FluffyFriendly (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
April 14, 2016, 04:11:53 PM
 #3

It's a custom one I think. If you click view script then you can get the idea of how it's written.
https://bot.seuntjie.com/scripts.aspx?id=12[/url]
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!