ferryantoine
Newbie
Offline
Activity: 13
Merit: 0
|
|
May 24, 2017, 06:00:48 AM |
|
sorry mates,
Maybe a silly question: but can you help me here instead of stop, to reset the bot again ? means when I lost that amount, bot reconsider again the same amount of my new balance to bet.
elseif balance < stopLossTarget then -- we lost too much stop()
end
Thank you.
|
|
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
May 24, 2017, 06:39:30 AM |
|
sorry mates,
Maybe a silly question: but can you help me here instead of stop, to reset the bot again ? means when I lost that amount, bot reconsider again the same amount of my new balance to bet.
elseif balance < stopLossTarget then -- we lost too much stop()
end
Thank you.
This depends on your script. In the programmer mode, if you want to reset your strategy, YOU need to reset all of the applicable variables for your script. An easy way to do this might be to move all of the variable declarations usually done at the top of the script in a function called reset and just call the reset function outside of the dobet function. for example: Instead of: base=1 test=2 max=100 min=0 startbal=balance stoploss=startbal+10 chance=49.5 nextbet=base
function dobet() --do your stuff here if balance>stoploss then base=1 test=2 max=100 min=0 startbal=balance stoploss=startbal+10 chance=49.5 nextbet=base end --do your other stuff here end
Try something like: --declare your reset function function reset() base=1 test=2 max=100 min=0 startbal=balance stoploss=startbal+10 chance=49.5 nextbet=base end
--call the reset function before you start the script to initialize and instantiate your variables reset()
function dobet() --do your stuff here if balance>stoploss then --call the reset function to reset your script. reset() end --do your other stuff here end
|
|
|
|
ThePassenger
Newbie
Offline
Activity: 29
Merit: 0
|
|
May 26, 2017, 07:15:53 PM |
|
thank you for the help. I managed to figure it out on my own and the script does just what I want. Here it is to anyone who is interested. chance=49.5 basebet=0.00000001 nextbet=basebet resetseed() lossCounter=0
function dobet()
if win then
nextbet=previousbet
if lossCounter >= 10 then nextbet=basebet lossCounter=0 end
else
I like your script!! However, how would it be possible to start the same script but doing a prebetting? I mean, only after 5 row red sreak betting at basebet for example? lossCounter=lossCounter+1
nextbet=previousbet*2
end
end Thanks! You can make significant profits with this script if you set the lossCounter <= to a bigger number. But the risk/reward is a big one. If you set it to 15 you will be seeing about $100/hour but open yourself up to losing it all on a 10+ losing streak. You also have to have a bigger bank roll to do that. .3 btc minimum but even that can we wiped clean. 10-12 is very safe even with .1 btc, with 12 bringing in around $100-150/24 hours.
|
|
|
|
Skarner21
|
|
May 26, 2017, 07:22:04 PM |
|
Hi seuntjie let me ask if the downloading link in the front page of this thread is updated or not.. I would like to test this script trying to use it in some dice game to test and modify some settings with my own.. Do you have latest version or v3 is the final?
|
Make crypto as your bank.
|
|
|
chilly2k (OP)
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
May 26, 2017, 08:16:25 PM |
|
Hi seuntjie let me ask if the downloading link in the front page of this thread is updated or not.. I would like to test this script trying to use it in some dice game to test and modify some settings with my own.. Do you have latest version or v3 is the final?
This thread is for help programming custom scripts, the link on the first page is to the other thread for the bot itself. Page 1 of that thread should have the download link.
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
May 27, 2017, 02:57:17 PM |
|
Hi seuntjie let me ask if the downloading link in the front page of this thread is updated or not.. I would like to test this script trying to use it in some dice game to test and modify some settings with my own.. Do you have latest version or v3 is the final?
You can always get the latest version of the bot at https://bot.seuntjie.com/botpage.aspx (or just on https://bot.seuntjie.com) as the page updates to the latest version whenever I upload one. It also shows the date that version was uploaded on, at the time of writing, the latest version is 3.3.4 and uploaded on May 15, 2017 (almost 2 weeks ago)
|
|
|
|
ferryantoine
Newbie
Offline
Activity: 13
Merit: 0
|
|
May 28, 2017, 11:47:36 AM |
|
Thank you seuntjie for your help and explanation. I haven't tried your codes yet but I got the idea. I was wondering if you (or any other programmer here) have time and can help me how is possible to reset to base bet anytime when x amount of streak BTC is gained. this amount should not be depending on the started balance, I mean not necessarily is profit. for example when I started betting with the balance of 0.01 and I lost 0.001 (after few bets) then anytime I had a streak of winning of BTC 0.0005 I want the bot to goes to base bet. note: it probably has the same function as on advanced mode "reset after x BTC streak win" yet I wanted to do some other stuff after this happened which is not possible on advanced mode. Grateful if you can share your ideas.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
|
May 28, 2017, 03:53:00 PM |
|
just track "profit" during a winning streak... ... stuff ... winStreakProfit = 0 ... other stuff ...
function dobet ()
if (win) then winStreakProfit = winStreakProfit + lastBet.profit if winStreakProfit >= 0.0005 then nextbet = basebet else nextbet = #insertBetStuffHere end ... other win stuff ...
else
winStreakProfit =0
... other loss stuff ...
end
end
end
|
|
|
|
ferryantoine
Newbie
Offline
Activity: 13
Merit: 0
|
|
May 28, 2017, 06:10:31 PM |
|
HCP Works great!
Much appreciated buddy.
|
|
|
|
ferryantoine
Newbie
Offline
Activity: 13
Merit: 0
|
|
May 30, 2017, 12:28:54 PM |
|
How is possible to increase chance by 1% after each win and decrease it by 1% after each lose. Lets say starting chance is %66 and it can go up to %82 and and down to %50. frustrated, I tried a lot but seems my programming knowledge isnt good enough to code it myself.
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
May 30, 2017, 12:51:41 PM |
|
How is possible to increase chance by 1% after each win and decrease it by 1% after each lose. Lets say starting chance is %66 and it can go up to %82 and and down to %50. frustrated, I tried a lot but seems my programming knowledge isnt good enough to code it myself. your question is a bit ambiguous. Do you want your chance to increment and decrement by 1 (as in 66,67,68,67,68 etc) or increase and decrease by 1% (as is 66,66.66,67.3266,66.66,67.3266 etc) I'm assuming you want to increment: in pseduo code if win then chance = chance +1 else chance = chance -1 if chance > 82 then chance = 82 if chance < 50 then chance 50. Now just convert that to LUA and you're golden Programming is basically english. Just set your rules out in as unambiguous terms as possible as I did above and you've written the program, then it's just a matter of syntax
|
|
|
|
ferryantoine
Newbie
Offline
Activity: 13
Merit: 0
|
|
May 31, 2017, 08:15:49 AM |
|
your question is a bit ambiguous. Do you want your chance to increment and decrement by 1 (as in 66,67,68,67,68 etc) or increase and decrease by 1% (as is 66,66.66,67.3266,66.66,67.3266 etc) I'm assuming you want to increment: in pseduo code if win then chance = chance +1 else chance = chance -1 if chance > 82 then chance = 82 if chance < 50 then chance 50. Now just convert that to LUA and you're golden Programming is basically english. Just set your rules out in as unambiguous terms as possible as I did above and you've written the program, then it's just a matter of syntax Thank you seuntjie, Yes I meant increment and will try your codes. believed or not your amazing bot is a reason I've become so interested in programming. you're the best.
|
|
|
|
AMONRA75
|
|
June 01, 2017, 10:10:06 PM |
|
hi all!
i need to make a script with this parameters:
chance array (20.00,21.00,22.00,23.00)
bet array (1000,2000,3000,4000)
nexbet = previousbet + array (16%,17%,18%,19%)
ex: 1 bet : chance 20,00, bet 1000, nexbet 16% 2 bet : chance 21,00, bet 2000, nexbet 17% 3 bet: chance 22,00, bet 3000, nexbet 18%
anyone help me?
tnx 4 all
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
|
June 01, 2017, 11:08:36 PM |
|
Sorry, I don't understand what it is that you're asking for... what exactly do you mean by nextbet 16%? Do you mean that the nextbet should be the previousbet increased by 16%? or that it should be 16% of the previous bet? And you haven't specified if it should occur on win or loss or both? Also, what are the conditions that it moves from "1 bet" values to "2 bet" values?
|
|
|
|
Phyzyprogrammer
Member
Offline
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 02, 2017, 12:17:16 AM |
|
@seuntjie pls could u help me with a save script for me to play with 0.01btc on dicebot using bitsler or primedice thank you
|
visit ( www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
|
|
|
AMONRA75
|
|
June 02, 2017, 08:21:47 AM |
|
Sorry, I don't understand what it is that you're asking for... what exactly do you mean by nextbet 16%? Do you mean that the nextbet should be the previousbet increased by 16%? or that it should be 16% of the previous bet? And you haven't specified if it should occur on win or loss or both? Also, what are the conditions that it moves from "1 bet" values to "2 bet" values? i have 3 arrays...one for chance, one for bet and one for on loose nexbet + % if win i want change this arrays block like this: first win : chance 11.00 - bet 1000 - on loose nextbet + 16% second win : chance 12.00 - bet 2000 - on loose nextbet + 17% and more : chance 13.00 - bet 3000 - on loose nextbet + 18% but in block because if i use normal arrays all are random so ...chance 11:00 start with bet 2000 and on loose 18%
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
|
June 02, 2017, 09:07:26 AM |
|
Ok... that sort of clears things up a little bit This should give you an idea of how to do it... if at any time you want to reset all the way back... just set count = 1 chances = {11,12,13} bets = {1000,2000,3000} increase = {1.16,1.17,1.18} -- 16%, 17% and 18%
count = 1
... do all your other stuff ...
chance = chances[count] nextbet = bets[count]
function dobet()
if (win) then ... win stuff ... count = count + 1 if count > #chances then count = #chances -- Don't go over max array size chance = chances[count] nextbet = bets[count]
else ... loss stuff ... chance = chances[count] nextbet = previousbet * increase[count]
end
... whatever else you want ...
end
|
|
|
|
seuntjie
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
June 02, 2017, 09:17:58 AM |
|
Ok... that sort of clears things up a little bit Really? Because I still have no idea what he's talking about...
|
|
|
|
AMONRA75
|
|
June 02, 2017, 09:31:43 AM |
|
Ok... that sort of clears things up a little bit This should give you an idea of how to do it... if at any time you want to reset all the way back... just set count = 1 chances = {11,12,13} bets = {1000,2000,3000} increase = {1.16,1.17,1.18} -- 16%, 17% and 18%
count = 1
... do all your other stuff ...
chance = chances[count] nextbet = bets[count]
function dobet()
if (win) then ... win stuff ... count = count + 1 if count > #chances then count = #chances -- Don't go over max array size chance = chances[count] nextbet = bets[count]
else ... loss stuff ... chance = chances[count] nextbet = previousbet * increase[count]
end
... whatever else you want ...
end great! i try this. tnx a lot!
|
|
|
|
Phyzyprogrammer
Member
Offline
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
|
|
June 02, 2017, 02:38:28 PM |
|
pls can any one here at least help me? i really need a save script to use on bitsler on dicebot with a bankroll of 0.01btc thankx in advance
|
visit ( www.btcscriptbot.wordpress.com) we offer latest scripts and bots to earn bitcoins and other altcoins for free and paid! Earn Bitcoins with bots
|
|
|
|