Our members are dedicated to PASSION and PURPOSE without drama!

Double dozens and columns test sim

Started by Matt, January 05, 2016, 08:34:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Matt

Wondering if anyone has any code written to test double dozens and columns strategies?
I have come across something that appears quite interesting that I would be interested testing with MM.
Both bet selection and MM are quite basic.

Gizmotron

Quote from: Matt on January 05, 2016, 08:34:22 PM
Wondering if anyone has any code written to test double dozens and columns strategies?
I have come across something that appears quite interesting that I would be interested testing with MM.
Both bet selection and MM are quite basic.

I have, hope this does the trick.

 
on mouseUp
   global hLastSpinSet, hfreeSpin, hWin, hLose
   put field "fldzz" into ding
   put "1,2,3,4,5,6,7,8,9,10,11,12," into d1
   put "13,14,15,16,17,18,19,20,21,22,23,24," into d2
   put "25,26,27,28,29,30,31,32,33,34,35,36," into d3
   put "1,4,7,10,13,16,19,22,25,28,31,34," into c1
   put "2,5,8,11,14,17,20,23,26,29,32,35," into c2
   put "3,6,9,12,15,18,21,24,27,30,33,36," into c3
   --   put "38,37,1,2,9,10,13,14,25,26,27,28,35,36," into p1
   --   put "3,4,7,8,11,12,15,16,23,24,29,30," into p2
   --   put "5,6,17,18,19,20,21,22,31,32,33,34," into p3
   --   put "1,2,5,6,17,18,27,28,31,32,37,38," into primes
   --   put "3,4,7,8,11,12,15,16,23,24,29,30," into spokes
   --   put "9,10,13,14,19,20,21,22,25,26,33,34,35,36," into nots
   
   put "2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35," into blk
   put "1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,34,36," into rd
   
   put "2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36," into evn
   put "1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35," into od
   
   put "19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36," into hgh
   put "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18," into lo
   put random(38) into hSpin
   put the number of items in hLastSpinSet into zSixEight
   if hSpin > 36 then
      put "|----------------------------------------|  "  after field "mainText"
   else
      if hSpin is among the items of d1 then
         put "| X       |" after field "mainText"
      end if
      if hSpin is among the items of d2 then
         put "|    X    |" after field "mainText"
      end if
      if hSpin is among the items of d3 then
         put "|       X |" after field "mainText"
      end if
      if hSpin is among the items of c1 then
         put " X       |" after field "mainText"
      end if
      if hSpin is among the items of c2 then
         put "    X    |" after field "mainText"
      end if
      if hSpin is among the items of c3 then
         put "       X |" after field "mainText"
      end if
     
      if hSpin is among the items of blk then
         put " X    |" after field "mainText"
      end if
      if hSpin is among the items of rd then
         put "    X |" after field "mainText"
      end if
     
      if hSpin is among the items of od then
         put " X    |" after field "mainText"
      end if
      if hSpin is among the items of evn then
         put "    X |" after field "mainText"
      end if
     
      if hSpin is among the items of lo then
         put " X    |" after field "mainText"
      end if
      if hSpin is among the items of hgh then
         put "    X |" after field "mainText"
      end if
      --      if hSpin is among the items of p1 then
      --         put " X       |" after field "mainText"
      --      end if
      --      if hSpin is among the items of p2 then
      --         put "    X    |" after field "mainText"
      --      end if
      --      if hSpin is among the items of p3 then
      --         put "       X |" after field "mainText"
      --      end if
      --      if hSpin is among the items of primes then
      --         put " X       |" after field "mainText"
      --      end if
      --      if hSpin is among the items of spokes then
      --         put "    X    |" after field "mainText"
      --      end if
      --      if hSpin is among the items of nots then
      --         put "       X |" after field "mainText"
      --      end if
   end if
   put the text of field "fld66" into tms
   if tms = "" then
      put 1 into tms
   end if
   if hfreeSpin = "true" then
      put the text of field "fldNumBets" into zot
      add 1 to zot
      put zot into field "fldNumBets"
      if hSpin is among the items of hLastSpinSet then
         put the text of field "fld33" into zot2
         put round((36 - zSixEight) * tms) into zim
         add zim to zot2
         put zot2 into field "fld33"
         add 1 to hWin
         put hWin into field "winBy"
         put "    "  after field "mainText"
         if hSpin < 10 then
            put "0" & hSpin into hSpin2
            put hSpin2 & " -- W  ( $ "  after field "mainText"
         else
            put hSpin & " -- W  ( $ "  after field "mainText"
         end if
         put  zot2 & " ) " after field "mainText"
         put return  after field "mainText"
      else
         put the text of field "fld33" into zot2
         subtract round(zSixEight * tms) from zot2
         put zot2 into field "fld33"
         add 1 to hLose
         put hLOse into field "loseBy"
         put "    "  after field "mainText"
         if hSpin < 10 then
            put "0" & hSpin into hSpin2
            put hSpin2 & " -- L  ( $ "  after field "mainText"
         else
            put hSpin & " -- L  ( $ "  after field "mainText"
         end if
         put  zot2 & " ) " after field "mainText"
         put return  after field "mainText"
      end if
   else
      put return  after field "mainText"
   end if
   put "false" into hfreeSpin
   put "" into field "fldzz"
   
   --set the disabled of button "b2" to true
   --wait 18 seconds with messages
   --set the disabled of button "b2" to false
   --beep
   --wait 1 seconds with messages
   --click at "36,58"
   
   --put "" into field "fldzz"
   --put "" into hLastSpinSet
end mouseUp
"...IT'S AGAINST THE LAW TO BREAK THE LAW OF AVERAGES." 

Matt

Thanks Gizmodo!
I will see if I can find someone to run the test for me as my computer and coding skills are non existant!

Gizmotron

Quote from: Matt on January 05, 2016, 09:26:53 PM
Thanks Gizmodo!
I will see if I can find someone to run the test for me as my computer and coding skills are non existant!

You will need to write  code like this for the dozens and the column buttons;  this one is for the first dozen to lose:

 
on mouseUp
   global hLastSpinSet,  hfreeSpin,
   put "true" into hfreeSpin
   put "13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36" into hLastSpinSet
   put the text of field "fldzz" into fzz
   if fzz = "" then
      put hLastSpinSet into field "fldzz"
   else
      put fzz into hLastSpinSet
      put "1,2,3,4,5,6,7,8,9,10,11,12" into hTakeOut
      put the number of items in hLastSpinSet into bbk
      put 1 into hSpot
      repeat with i = 1 to bbk
         if item hSpot of hLastSpinSet is among the items of hTakeOut then
            delete item hSpot of hLastSpinSet
            subtract 1 from hSpot
         end if
         add 1 to hSpot
      end repeat
      put hLastSpinSet into field "fldzz"
   end if
end mouseUp



You will need to write code like this for the even buttons;  this one is for red to win:


on mouseUp
   global hLastSpinSet,  hfreeSpin,
   put "true" into hfreeSpin
   put  "1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,34,36," into hLastSpinSet
   put the text of field "fldzz" into fzz
   if fzz = "" then
      put hLastSpinSet into field "fldzz"
   else
      put fzz into hLastSpinSet
      put  "2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35," into hTakeOut
      put the number of items in hLastSpinSet into bbk
      put 1 into hSpot
      repeat with i = 1 to bbk
         if item hSpot of hLastSpinSet is among the items of hTakeOut then
            delete item hSpot of hLastSpinSet
            subtract 1 from hSpot
         end if
         add 1 to hSpot
      end repeat
      put hLastSpinSet into field "fldzz"
   end if
end mouseUp


"...IT'S AGAINST THE LAW TO BREAK THE LAW OF AVERAGES." 

Gizmotron

Here is a screen shot of the interface built with LiveCode Open Source development:

"...IT'S AGAINST THE LAW TO BREAK THE LAW OF AVERAGES." 

Gizmotron

An easier way could be to download my free practice software designed to work with dozens and columns as well as EC bets.

http://betselection.cc/gizmotron/tracking-software-for-practice-real-play/
"...IT'S AGAINST THE LAW TO BREAK THE LAW OF AVERAGES." 

Matt

Quote from: Gizmotron on January 05, 2016, 10:07:45 PM
An easier way could be to download my free practice software designed to work with dozens and columns as well as EC bets.

http://betselection.cc/gizmotron/tracking-software-for-practice-real-play/

Thanks again.
I have done a few hours worth of testing through live shoe results so far but would like to test over a larger number and get an idea of its limitations.
I will take a look at your software when i get home, cheers.