Advertisement
crypto0sy

BTCrollingDICE

Nov 22nd, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 22.44 KB | None | 0 0
  1.  
  2. chance= 61.61
  3. base=0.00000100
  4. bethigh = true
  5.  
  6. nextbet = base  
  7. investprofit = 0
  8. wincount = 0
  9. losecount=0
  10. stopnow = false
  11. first = true
  12. second = false
  13. secondwin = false
  14. third = false
  15. betcount=1
  16.  
  17. -- set profit target here (Final Balance after Winning)
  18. profittarget= .0002100
  19.  
  20. function dobet()
  21.  
  22. --Randomizer
  23. r=math.random(2)
  24.  
  25. if r == 1 then
  26.      bethigh=true
  27. else
  28.      bethigh=false
  29. end
  30.  
  31. if betcount == 1 then
  32. betcount=0
  33. resetseed();
  34. else
  35. betcount=betcount+1
  36. end
  37.  
  38. if (balance) >= profittarget then
  39. stop();
  40. print(balance)
  41. print("TARGET ACHIEVED!!!")
  42. end
  43.  
  44. if (balance) < (nextbet) then
  45. stop();
  46. print(balance)
  47. print("INSUFFICIENT FUNDS")
  48. end
  49.  
  50. done = false
  51.  
  52.    if win then
  53.  
  54. --     switch high/low every win
  55. --     bethigh = false
  56.  
  57.          if(first) then
  58. --          switch high/low on the first win
  59. --          bethigh = !bethigh
  60.             nextbet = base
  61.             if(stopnow) then stop() end
  62.          end
  63.          if(second) then
  64. --          switch high/low on the second win
  65. --          bethigh = !bethigh
  66.             secondwin = true
  67.             second = false
  68.             third = true
  69.             done = true
  70.          end
  71.          if(third and !done) then
  72. --          switch high/low on the third win
  73. --          bethigh = !bethigh
  74.             if(secondwin) then
  75. --             switch high/low on the second and third win
  76. --             bethigh = !bethigh  
  77.                nextbet = base
  78.                if(stopnow) then stop() end
  79.             else
  80. --              switch high/low on one and two lose third win
  81. --              bethigh = !bethigh                
  82.                 nextbet = previousbet * 3
  83.              end
  84.              third = false
  85.              first = true
  86.          end
  87.    else
  88. --    switch high/low on the every lose
  89. --    bethigh = true
  90.       if(first and !done) then
  91. --        switch high/low on the first lose
  92. --        bethigh = !bethigh
  93.           first = false
  94.           second = true
  95.           done = true
  96.        end
  97.        if(second and !done) then
  98. --         switch high/low on the second lose
  99. --         bethigh = !bethigh
  100.            secondwin = false
  101.            second = false
  102.            third = true
  103.            done = true
  104.         end
  105.         if(third and !done) then
  106. --          switch high/low on the third lose
  107. --          bethigh = !bethigh
  108.             third = false
  109.             first = true
  110.             print("GO 4 THE WIN!!!")
  111.             if (secondwin) then
  112. --              switch high/low on the one lose two in thrird lose
  113. --              bethigh = !bethigh
  114.                 nextbet = previousbet * 3
  115.             else
  116. --              switch high/low only if all three lose
  117. --              bethigh = !bethigh
  118.                 nextbet = previousbet * 4
  119.              end
  120.             done = true
  121.         end  
  122.    end
  123. -----------------SETTINGS------------------
  124. -------------------------------------------
  125. -------------------------------------------
  126. targetb = 0.50000000 -- Target Balance
  127. --@ Rolling will stop when this balance reached
  128.  
  129. basebet = 10 -- Will be used as basebet by default if 'autotune = false'
  130. --@ Use whole integers (i.e. "10" = 10 sats = 0.00000010)
  131.  
  132. minbet = 10 -- Will be used if 'autotune = true' as minimum possible bet
  133. --@ Use whole integers
  134.  
  135. HUNTChance = 0.01 -- Chance that will be used during Hunting Stage
  136. --@ The Fibo Stage will start with this chance
  137.  
  138. HUNTRollsNumber = 0 -- Number of rolls to do during Hunting Stage
  139. --@ Put 0 if you want to use the number based on selected HUNTChance
  140.  
  141. HUNTRollsPercent = 0.0 -- Number of rolls to do during Hunting Stage in % according to selected HUNTChance
  142. --@ i.e 1.00 = 100% - 100 rolls for x100 or 990 rolls for x990. Put 0 if you want to use plain number selected in HUNTRollsNumber
  143.  
  144. bbMult = 4.00 -- Multiplier for Hunting. Basebet will be multiplied by this number during Huntung Stage.
  145. --@ WILL NOT INFLUENCE THE FIBO STAGE (Change basebet for that)
  146.  
  147.  
  148. -------------------------------------------
  149. ----ADJUST-THIS-SETTINGS-TO-UR-PLAYSTYLE---
  150. fibStepBase = 0.66 -- Fibonacci stepping amount
  151. --@ Will adjust each FiboStep on this number
  152.  
  153. chanceStepBase = 0.44 -- Chance stepping amount
  154. --@ Will increase chance on this amount each roll during Fibo-Stage
  155. ------------------------------------------
  156. -------------------------------------------
  157.  
  158.  
  159. -------------------MISC-------------------
  160. showStats = true -- Show stats in console
  161. --@ Can slow down the rolling. Try switching to false.
  162.  
  163. sound = true -- 'Pling' on Win
  164.  
  165. housePercent = 1 -- House Edge used by casino. Used for number of HUNT rolls calculation
  166. --@ Leave 1 as default if not known
  167.  
  168. HiLoOnWin = false -- Set to true to change HiLo on 1-3 wins randomly
  169.  
  170. HiLoAvgCalc = true -- Set to true to change HiLo dynamicly based on previous rolls
  171.  
  172. autotune = false -- Set to true to calculate basebet based on current balance
  173. -------------------------------------------
  174. -------------------------------------------
  175. -------------------------------------------
  176.  
  177.  
  178.  
  179.  
  180.  
  181. --------------BASE-VARIABLES---------------
  182. betCount = 0
  183. chanceStep = chanceStepBase
  184. fibstep = fibStepBase
  185. if HUNTRollsPercent > 0 then
  186.   winAmount = (100 - (100 * (housePercent / 100))) / HUNTChance
  187.   fiboStart = winAmount * HUNTRollsPercent
  188. end
  189. if HUNTRollsNumber > 0 then
  190.   fiboStart = HUNTRollsNumber
  191. end
  192. curbal = balance
  193. targetpercent = curbal / targetb * 100
  194. wincount = 0
  195. change = 0
  196. minbet = minbet * 0.00000001
  197. basebet = basebet * 0.00000001
  198. stepsTo100 = 100 / chanceStepBase
  199. currentStep = 0
  200. lossCount = 0
  201. stepCount = 0
  202. highLowAverage = {}
  203. averageCount = 0
  204. averageIndex = 0
  205. averageMax = 4
  206. if not (HiLoAvgCalc) and not (HiLoOnWin) then
  207.   bethigh = true
  208. end
  209. name = "|             HUNT-STAGE                 |"
  210. huntName1 = "Chance = " .. string.format("%3.2f",HUNTChance) .. "%"
  211. huntName2 = "Payout = x" .. string.format("%3.0f",9900 / (HUNTChance * 100))
  212. huntName3 = "Range: > " .. string.format("%3.0f",9999 - (HUNTChance * 100)) .. " or <" .. string.format("%3.0f",(HUNTChance * 100))
  213. -------------------------------------------
  214.  
  215.  
  216.  
  217. --------------HiLo-AVERAGE-ARRAY-----------
  218. for i=0, averageMax do
  219.   highLowAverage[i] = 0
  220. end
  221. -------------------------------------------
  222.  
  223.  
  224. --------------BASEBET-AUTOCALC-------------
  225. function autocalc()
  226.   if(autotune == true) then
  227.     if(lossCount == 0) then
  228.       basebet = balance / 100000
  229.       basebet = basebet / (10 - HUNTChance)
  230.       if basebet < minbet then
  231.         basebet = minbet
  232.       end
  233.     end
  234.   end
  235. end
  236. -------------------------------------------
  237.  
  238.  
  239. --------------FIBO-CALCULATION-------------
  240. --@ Routine was written by -CttCJim- (c)
  241. function myfib(level)
  242.   fibno=basebet
  243.   temp=0
  244.   prevfibno=0
  245.   if level == 0 then
  246.     fibno= basebet
  247.   else
  248.     for j=0,level-1,1 do
  249.  
  250.       temp=fibno
  251.       fibno=fibno + (prevfibno * fibstep)
  252.       prevfibno=temp
  253.     end
  254.   end
  255.   return fibno
  256. end
  257. -------------------------------------------
  258.  
  259.  
  260. --------------STARTING-SETTINGS------------
  261. autocalc()
  262. chance = HUNTChance
  263. nextbet=basebet * bbMult
  264. -------------------------------------------
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271. -------------------------------------------
  272. -------------------------------------------
  273. -------------------DOBET-------------------
  274. -------------------------------------------
  275. -------------------------------------------
  276. function dobet()
  277.  
  278.   betCount += 1
  279.   autocalc()
  280. -------------------------------------------
  281.  
  282.  
  283. ------------------ON-WIN-------------------
  284.   if win then
  285.  
  286.     if sound then
  287.       ching()
  288.     end
  289.  
  290.     if HiLoOnWin then
  291.       wincount += 1
  292.       change = math.random(1,3)
  293.       if wincount >= change then
  294.         bethigh = not bethigh
  295.         wincount = 0
  296.       end
  297.  
  298.     end
  299.     curbal = balance
  300.     if curbal >= targetb then
  301.       print("\n---------")
  302.       print("---------\n")
  303.       print("Target Reached - Congratulations ")
  304.       print("\n---------")
  305.       print("---------\n")
  306.       stop()
  307.     end
  308.  
  309.     name = "|             HUNT-STAGE                 |"
  310.     fibstep = fibStepBase -- reset
  311.     chance = HUNTChance -- reset
  312.     chanceStep = chanceStepBase -- reset
  313.     lossCount = 0 -- reset
  314.     nextbet = basebet * bbMult -- reset
  315.     stepCount = 0 -- reset
  316. ------------------------------------------
  317.  
  318.  
  319. -----------------ON-LOSE------------------
  320.   else
  321.     lossCount += 1
  322.  
  323.     if lossCount > fiboStart then
  324.       stepCount += 1
  325.       name = "|             FIBO-STAGE                   |"
  326.  
  327.       if lossCount <= fiboStart + (stepsTo100 * 0.02) then
  328.         fibstep = fibStepBase * 0.55
  329.         chanceStep = chanceStepBase * 0.93
  330.       elseif lossCount <= fiboStart + (stepsTo100 * 0.03) then
  331.         fibstep = fibStepBase * 0.66
  332.         chanceStep = chanceStepBase * 1.11
  333.       elseif lossCount <= fiboStart + (stepsTo100 * 0.05) then
  334.         fibstep = fibStepBase * 0.77
  335.         chanceStep = chanceStepBase * 1.22
  336.       elseif lossCount <= fiboStart + (stepsTo100 * 0.07) then
  337.         fibstep = fibStepBase * 0.88
  338.         chanceStep = chanceStepBase * 1.33
  339.       elseif lossCount <= fiboStart + (stepsTo100 * 0.09) then
  340.         fibstep = fibStepBase
  341.         chanceStep = chanceStepBase * 1.11
  342.       elseif lossCount <= fiboStart + (stepsTo100 * 0.11) then
  343.         fibstep = fibStepBase
  344.         chanceStep = chanceStepBase
  345.       else
  346.         fibstep = fibStepBase
  347.         chanceStep = chanceStepBase * 0.88
  348.       end
  349.  
  350.       chance += chanceStep
  351.       nextbet = myfib(stepCount)
  352.     end
  353.   end
  354. ------------------------------------------
  355.  
  356.  
  357.  
  358. -----------LoHi-AVERAGE-CALC------------
  359.   if HiLoAvgCalc then
  360.     if(lastBet.Roll >= 50) then
  361.       highLowAverage[averageIndex] = 1
  362.     else
  363.       highLowAverage[averageIndex] = 0
  364.     end
  365.     averageIndex += 1
  366.     if(averageIndex >= averageMax) then
  367.       averageIndex = 0
  368.     end
  369.     if(averageCount < averageMax) then
  370.       averageCount += 1
  371.     end
  372.     average = 0.00
  373.     for i=0, averageCount do
  374.       average += highLowAverage[i]
  375.     end
  376.     average = average / averageCount
  377.     if average >= 0.5 then
  378.       bethigh = true
  379.     else
  380.       bethigh = false
  381.     end
  382.   end
  383. -----------------------------------------
  384.  
  385.  
  386.  
  387. ----------------BALANCE------------------
  388.   curbal = balance
  389.   targetpercent = curbal / targetb * 100
  390. -----------------------------------------
  391.  
  392.  
  393. ----------------PRINTS-------------------
  394. if showStats then
  395.   print("\n---------\n")
  396.   print("\n---------\n")
  397.   print("\n---------\n")
  398.   print("\n---------\n")
  399.   print("\n---------\n")
  400.   print("\n---------\n")
  401.   print("\n---------\n")
  402.   print("\n---------\n")
  403.   print("\n---------\n")
  404.   print("\n---------\n")
  405.   print("\n---------\n")
  406.   print("\n---------\n")
  407.   print("\n---------\n")
  408.   print("\n------------------------------------------------------")
  409.   print("------------------------------------------------------")
  410.   print("|                                                     |")
  411.   print(name)
  412.   if name == "|             HUNT-STAGE                 |" then
  413.   print("|                                                     |")
  414.   print("|           " .. huntName1 .. "                |")
  415.   print("|                                                     |")
  416.   print("|           " .. huntName2 .. "                 |")
  417.   print("|                                                     |")
  418.   print("|       " .. huntName3 .. "           |")
  419.   print("|                                                     |")
  420.   print("|        Rolls = " .. lossCount .. "  Out Of  " .. string.format("%3.0f",fiboStart) .. "            |")
  421.   print("|                                                     |")
  422.   else-----------------SETTINGS------------------
  423. -------------------------------------------
  424. -------------------------------------------
  425. targetb = 0.50000000 -- Target Balance
  426. --@ Rolling will stop when this balance reached
  427.  
  428. basebet = 10 -- Will be used as basebet by default if 'autotune = false'
  429. --@ Use whole integers (i.e. "10" = 10 sats = 0.00000010)
  430.  
  431. minbet = 10 -- Will be used if 'autotune = true' as minimum possible bet
  432. --@ Use whole integers
  433.  
  434. HUNTChance = 0.01 -- Chance that will be used during Hunting Stage
  435. --@ The Fibo Stage will start with this chance
  436.  
  437. HUNTRollsNumber = 0 -- Number of rolls to do during Hunting Stage
  438. --@ Put 0 if you want to use the number based on selected HUNTChance
  439.  
  440. HUNTRollsPercent = 0.0 -- Number of rolls to do during Hunting Stage in % according to selected HUNTChance
  441. --@ i.e 1.00 = 100% - 100 rolls for x100 or 990 rolls for x990. Put 0 if you want to use plain number selected in HUNTRollsNumber
  442.  
  443. bbMult = 4.00 -- Multiplier for Hunting. Basebet will be multiplied by this number during Huntung Stage.
  444. --@ WILL NOT INFLUENCE THE FIBO STAGE (Change basebet for that)
  445.  
  446.  
  447. -------------------------------------------
  448. ----ADJUST-THIS-SETTINGS-TO-UR-PLAYSTYLE---
  449. fibStepBase = 0.66 -- Fibonacci stepping amount
  450. --@ Will adjust each FiboStep on this number
  451.  
  452. chanceStepBase = 0.44 -- Chance stepping amount
  453. --@ Will increase chance on this amount each roll during Fibo-Stage
  454. ------------------------------------------
  455. -------------------------------------------
  456.  
  457.  
  458. -------------------MISC-------------------
  459. showStats = true -- Show stats in console
  460. --@ Can slow down the rolling. Try switching to false.
  461.  
  462. sound = true -- 'Pling' on Win
  463.  
  464. housePercent = 1 -- House Edge used by casino. Used for number of HUNT rolls calculation
  465. --@ Leave 1 as default if not known
  466.  
  467. HiLoOnWin = false -- Set to true to change HiLo on 1-3 wins randomly
  468.  
  469. HiLoAvgCalc = true -- Set to true to change HiLo dynamicly based on previous rolls
  470.  
  471. autotune = false -- Set to true to calculate basebet based on current balance
  472. -------------------------------------------
  473. -------------------------------------------
  474. -------------------------------------------
  475.  
  476.  
  477.  
  478.  
  479.  
  480. --------------BASE-VARIABLES---------------
  481. betCount = 0
  482. chanceStep = chanceStepBase
  483. fibstep = fibStepBase
  484. if HUNTRollsPercent > 0 then
  485.   winAmount = (100 - (100 * (housePercent / 100))) / HUNTChance
  486.   fiboStart = winAmount * HUNTRollsPercent
  487. end
  488. if HUNTRollsNumber > 0 then
  489.   fiboStart = HUNTRollsNumber
  490. end
  491. curbal = balance
  492. targetpercent = curbal / targetb * 100
  493. wincount = 0
  494. change = 0
  495. minbet = minbet * 0.00000001
  496. basebet = basebet * 0.00000001
  497. stepsTo100 = 100 / chanceStepBase
  498. currentStep = 0
  499. lossCount = 0
  500. stepCount = 0
  501. highLowAverage = {}
  502. averageCount = 0
  503. averageIndex = 0
  504. averageMax = 4
  505. if not (HiLoAvgCalc) and not (HiLoOnWin) then
  506.   bethigh = true
  507. end
  508. name = "|             HUNT-STAGE                 |"
  509. huntName1 = "Chance = " .. string.format("%3.2f",HUNTChance) .. "%"
  510. huntName2 = "Payout = x" .. string.format("%3.0f",9900 / (HUNTChance * 100))
  511. huntName3 = "Range: > " .. string.format("%3.0f",9999 - (HUNTChance * 100)) .. " or <" .. string.format("%3.0f",(HUNTChance * 100))
  512. -------------------------------------------
  513.  
  514.  
  515.  
  516. --------------HiLo-AVERAGE-ARRAY-----------
  517. for i=0, averageMax do
  518.   highLowAverage[i] = 0
  519. end
  520. -------------------------------------------
  521.  
  522.  
  523. --------------BASEBET-AUTOCALC-------------
  524. function autocalc()
  525.   if(autotune == true) then
  526.     if(lossCount == 0) then
  527.       basebet = balance / 100000
  528.       basebet = basebet / (10 - HUNTChance)
  529.       if basebet < minbet then
  530.         basebet = minbet
  531.       end
  532.     end
  533.   end
  534. end
  535. -------------------------------------------
  536.  
  537.  
  538. --------------FIBO-CALCULATION-------------
  539. --@ Routine was written by -CttCJim- (c)
  540. function myfib(level)
  541.   fibno=basebet
  542.   temp=0
  543.   prevfibno=0
  544.   if level == 0 then
  545.     fibno= basebet
  546.   else
  547.     for j=0,level-1,1 do
  548.  
  549.       temp=fibno
  550.       fibno=fibno + (prevfibno * fibstep)
  551.       prevfibno=temp
  552.     end
  553.   end
  554.   return fibno
  555. end
  556. -------------------------------------------
  557.  
  558.  
  559. --------------STARTING-SETTINGS------------
  560. autocalc()
  561. chance = HUNTChance
  562. nextbet=basebet * bbMult
  563. -------------------------------------------
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570. -------------------------------------------
  571. -------------------------------------------
  572. -------------------DOBET-------------------
  573. -------------------------------------------
  574. -------------------------------------------
  575. function dobet()
  576.  
  577.   betCount += 1
  578.   autocalc()
  579. -------------------------------------------
  580.  
  581.  
  582. ------------------ON-WIN-------------------
  583.   if win then
  584.  
  585.     if sound then
  586.       ching()
  587.     end
  588.  
  589.     if HiLoOnWin then
  590.       wincount += 1
  591.       change = math.random(1,3)
  592.       if wincount >= change then
  593.         bethigh = not bethigh
  594.         wincount = 0
  595.       end
  596.  
  597.     end
  598.     curbal = balance
  599.     if curbal >= targetb then
  600.       print("\n---------")
  601.       print("---------\n")
  602.       print("Target Reached - Congratulations ")
  603.       print("\n---------")
  604.       print("---------\n")
  605.       stop()
  606.     end
  607.  
  608.     name = "|             HUNT-STAGE                 |"
  609.     fibstep = fibStepBase -- reset
  610.     chance = HUNTChance -- reset
  611.     chanceStep = chanceStepBase -- reset
  612.     lossCount = 0 -- reset
  613.     nextbet = basebet * bbMult -- reset
  614.     stepCount = 0 -- reset
  615. ------------------------------------------
  616.  
  617.  
  618. -----------------ON-LOSE------------------
  619.   else
  620.     lossCount += 1
  621.  
  622.     if lossCount > fiboStart then
  623.       stepCount += 1
  624.       name = "|             FIBO-STAGE                   |"
  625.  
  626.       if lossCount <= fiboStart + (stepsTo100 * 0.02) then
  627.         fibstep = fibStepBase * 0.55
  628.         chanceStep = chanceStepBase * 0.93
  629.       elseif lossCount <= fiboStart + (stepsTo100 * 0.03) then
  630.         fibstep = fibStepBase * 0.66
  631.         chanceStep = chanceStepBase * 1.11
  632.       elseif lossCount <= fiboStart + (stepsTo100 * 0.05) then
  633.         fibstep = fibStepBase * 0.77
  634.         chanceStep = chanceStepBase * 1.22
  635.       elseif lossCount <= fiboStart + (stepsTo100 * 0.07) then
  636.         fibstep = fibStepBase * 0.88
  637.         chanceStep = chanceStepBase * 1.33
  638.       elseif lossCount <= fiboStart + (stepsTo100 * 0.09) then
  639.         fibstep = fibStepBase
  640.         chanceStep = chanceStepBase * 1.11
  641.       elseif lossCount <= fiboStart + (stepsTo100 * 0.11) then
  642.         fibstep = fibStepBase
  643.         chanceStep = chanceStepBase
  644.       else
  645.         fibstep = fibStepBase
  646.         chanceStep = chanceStepBase * 0.88
  647.       end
  648.  
  649.       chance += chanceStep
  650.       nextbet = myfib(stepCount)
  651.     end
  652.   end
  653. ------------------------------------------
  654.  
  655.  
  656.  
  657. -----------LoHi-AVERAGE-CALC------------
  658.   if HiLoAvgCalc then
  659.     if(lastBet.Roll >= 50) then
  660.       highLowAverage[averageIndex] = 1
  661.     else
  662.       highLowAverage[averageIndex] = 0
  663.     end
  664.     averageIndex += 1
  665.     if(averageIndex >= averageMax) then
  666.       averageIndex = 0
  667.     end
  668.     if(averageCount < averageMax) then
  669.       averageCount += 1
  670.     end
  671.     average = 0.00
  672.     for i=0, averageCount do
  673.       average += highLowAverage[i]
  674.     end
  675.     average = average / averageCount
  676.     if average >= 0.5 then
  677.       bethigh = true
  678.     else
  679.       bethigh = false
  680.     end
  681.   end
  682. -----------------------------------------
  683.  
  684.  
  685.  
  686. ----------------BALANCE------------------
  687.   curbal = balance
  688.   targetpercent = curbal / targetb * 100
  689. -----------------------------------------
  690.  
  691.  
  692. ----------------PRINTS-------------------
  693. if showStats then
  694.   print("\n---------\n")
  695.   print("\n---------\n")
  696.   print("\n---------\n")
  697.   print("\n---------\n")
  698.   print("\n---------\n")
  699.   print("\n---------\n")
  700.   print("\n---------\n")
  701.   print("\n---------\n")
  702.   print("\n---------\n")
  703.   print("\n---------\n")
  704.   print("\n---------\n")
  705.   print("\n---------\n")
  706.   print("\n---------\n")
  707.   print("\n------------------------------------------------------")
  708.   print("------------------------------------------------------")
  709.   print("|                                                     |")
  710.   print(name)
  711.   if name == "|             HUNT-STAGE                 |" then
  712.   print("|                                                     |")
  713.   print("|           " .. huntName1 .. "                |")
  714.   print("|                                                     |")
  715.   print("|           " .. huntName2 .. "                 |")
  716.   print("|                                                     |")
  717.   print("|       " .. huntName3 .. "           |")
  718.   print("|                                                     |")
  719.   print("|        Rolls = " .. lossCount .. "  Out Of  " .. string.format("%3.0f",fiboStart) .. "            |")
  720.   print("|                                                     |")
  721.   else
  722.   print("|                                                     |")
  723.   print("|      Current Fibo Step = " .. string.format("%3.3f",fibstep) .. "       |")
  724.   print("|                                                     |")
  725.   print("|    Current Chance Step = " .. string.format("%3.2f",chanceStep) .. "     |")
  726.   print("|                                                     |")
  727.   print("|          LoseStreak = " .. lossCount .. "                 |")
  728.   print("|                                                     |")
  729.   end
  730.   print("------------------------------------------------------")
  731.   print("------------------------------------------------------\n")
  732.   print("\n---------\n")
  733.   print("\n---------\n")  
  734.   print("Total Bets = " .. betCount)
  735.   print("\n\nTarget Balance = " .. targetb)
  736.   print("\n% of Target Reached = " .. string.format("%3.2f",targetpercent) .. "%")
  737.   print("\n---------\n")
  738.   print("\n---------\n")
  739.  end
  740. -----------------------------------------
  741. -----------------------------------------
  742. -----------------------------------------
  743.  
  744.   print("|                                                     |")
  745.   print("|      Current Fibo Step = " .. string.format("%3.3f",fibstep) .. "       |")
  746.   print("|                                                     |")
  747.   print("|    Current Chance Step = " .. string.format("%3.2f",chanceStep) .. "     |")
  748.   print("|                                                     |")
  749.   print("|          LoseStreak = " .. lossCount .. "                 |")
  750.   print("|                                                     |")
  751.   end
  752.   print("------------------------------------------------------")
  753.   print("------------------------------------------------------\n")
  754.   print("\n---------\n")
  755.   print("\n---------\n")  
  756.   print("Total Bets = " .. betCount)
  757.   print("\n\nTarget Balance = " .. targetb)
  758.   print("\n% of Target Reached = " .. string.format("%3.2f",targetpercent) .. "%")
  759.   print("\n---------\n")
  760.   print("\n---------\n")
  761.  end
  762. -----------------------------------------
  763. -----------------------------------------
  764. -----------------------------------------
  765.  
  766. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement