Author Topic: Random Ruler 3  (Read 151 times)

0 Members and 1 Guest are viewing this topic.

ignatus

Random Ruler 3
« on: June 28, 2019, 09:23:45 AM »
Something i coded and tested for fun, proved to have a decent winrate about 80%-100% (depending on moneymanagement, stoploss, wingoal, progression etc)

Anyway, the BET is 4-5 Quads. (16-20 numbers bet).

Procedure; TRIGGER 2 hits within Column A or column C. When 2 hits within column A or C, the 2 LINES just hit is Not bet. (if the same Line, 5 Quads bet, if 2 Lines hit 4 Quads bet). The Quads are bet at the Unhit Lines then at the 2 Unhit Columns.

Progression; (Any you like) I use in this example (negative) 1,2,3,5,10,15,25,45,90,175,300,500,1000

..and the code is set a stoploss at -1000u

Feel free to test and share your results.

RX-code
Code: [Select]
system "Random Ruler 3 FIX"
// © ignatus 2018 ©

method "main"
begin
  while starting a new session
  begin
    put 0 to Record "Highest Bankroll" Data

   // Set List[1,1,2,4,8,16,32,64,128,256,512]
    Set List[1,2,3,5,10,15,25,45,90,175,300,500,1000]
     to Record "progression" Data

   Set List[1,2,3,4]
     to Record "Spin counter" Data
   end
   
   Copy List [corner(1:5)] to Record "Lc1" Layout
   Copy List [corner(7:11)] to Record "Lc2" Layout
   Copy List [corner(13:17)] to Record "Lc3" Layout
   Copy List [corner(19:23)] to Record "Lc4" Layout
   Copy List [corner(25:29)] to Record "Lc5" Layout
   Copy List [corner(31:35)] to Record "Lc6" Layout
   
   Copy List [corner(2:6)] to Record "Hc1" Layout
   Copy List [corner(8:12)] to Record "Hc2" Layout
   Copy List [corner(14:18)] to Record "Hc3" Layout
   Copy List [corner(20:24)] to Record "Hc4" Layout
   Copy List [corner(26:30)] to Record "Hc5" Layout
   Copy List [corner(32:36)] to Record "Hc6" Layout
   

   while on each spin
  begin

    if any inside bet lost each
 begin
 Add 1 to Record "progression" Data index
 end

    if any corner bet won each
 begin
 put 1 on Record "progression" Data Index
 put 1 on Record "Spin counter" Data Index
   set flag "L1" false
   set flag "L2" false
   set flag "L3" false
   set flag "L4" false
   set flag "L5" false
   set flag "L6" false

   clear Record "Lc1" Layout
   clear Record "Lc2" Layout
   clear Record "Lc3" Layout
   clear Record "Lc4" Layout
   clear Record "Lc5" Layout
   clear Record "Lc6" Layout

   clear Record "Hc1" Layout
   clear Record "Hc2" Layout
   clear Record "Hc3" Layout
   clear Record "Hc4" Layout
   clear Record "Hc5" Layout
   clear Record "Hc6" Layout
   
 end

  IF column A hit 1 time each
   begin
   // Add 1 to Record "Spin counter" Data index
   set flag "L1" false
   set flag "L2" false
   set flag "L3" false
   set flag "L4" false
   set flag "L5" false
   set flag "L6" false

   IF Line(1-6) has hit each
   begin
   Set flag "L1" true
   end

   IF Line(7-12) has hit each
   begin
   Set flag "L2" true
   end

   IF Line(13-18) has hit each
   begin
   Set flag "L3" true
   end

   IF Line(19-24) has hit each
   begin
   Set flag "L4" true
   end

   IF Line(25-30) has hit each
   begin
   Set flag "L5" true
   end

   IF Line(31-36) has hit each
   begin
   Set flag "L6" true
   end
   end
   else begin

    IF column C has hit 1 time each
   begin
   // Add 1 to Record "Spin counter" Data index
   set flag "L1" false
   set flag "L2" false
   set flag "L3" false
   set flag "L4" false
   set flag "L5" false
   set flag "L6" false
   IF Line(1-6) has hit each
   begin
   Set flag "L1" true
   end

   IF Line(7-12) has hit each
   begin
   Set flag "L2" true
   end

   IF Line(13-18) has hit each
   begin
   Set flag "L3" true
   end

   IF Line(19-24) has hit each
   begin
   Set flag "L4" true
   end

   IF Line(25-30) has hit each
   begin
   Set flag "L5" true
   end

   IF Line(31-36) has hit each
   begin
   Set flag "L6" true
   end
   end
   end

  IF column B has hit each
  begin
   put 1 on Record "Spin counter" Data Index
   set flag "L1" false
   set flag "L2" false
   set flag "L3" false
   set flag "L4" false
   set flag "L5" false
   set flag "L6" false
 end

 IF number 0 has hit each
  begin
   put 1 on Record "Spin counter" Data Index
   set flag "L1" false
   set flag "L2" false
   set flag "L3" false
   set flag "L4" false
   set flag "L5" false
   set flag "L6" false
 end

 IF column A has hit more 1 times each
   begin
   if total inside bets count= 0 each
   begin
  // Add 1 to Record "Spin counter" Data index
   
   IF Line(1-6) has hit each
   begin
   Set flag "L1" true
   end

   IF Line(7-12) has hit each
   begin
   Set flag "L2" true
   end

   IF Line(13-18) has hit each
   begin
   Set flag "L3" true
   end

   IF Line(19-24) has hit each
   begin
   Set flag "L4" true
   end

   IF Line(25-30) has hit each
   begin
   Set flag "L5" true
   end

   IF Line(31-36) has hit each
   begin
   Set flag "L6" true
   end

   IF flag "L1" false each
   begin
   Put 100% of Record "progression" Data to Record "Hc1" layout list
   end
   
   IF flag "L2" false each
   begin
   Put 100% of Record "progression" Data to Record "Hc2" layout list
   end
   
    IF flag "L3" false each
   begin
   Put 100% of Record "progression" Data to Record "Hc3" layout list
   end
   
    IF flag "L4" false each
   begin
   Put 100% of Record "progression" Data to Record "Hc4" layout list
   end
   
    IF flag "L5" false each
   begin
   Put 100% of Record "progression" Data to Record "Hc5" layout list
   end
   
    IF flag "L6" false each
   begin
   Put 100% of Record "progression" Data to Record "Hc6" layout list
   end
   
   put 1 on Record "Spin counter" Data Index
   set flag "L1" false
   set flag "L2" false
   set flag "L3" false
   set flag "L4" false
   set flag "L5" false
   set flag "L6" false
   end
   end

   IF column C has hit more 1 times each
   begin
   if total inside bets count= 0 each
   begin
  // Add 1 to Record "Spin counter" Data index
 
   IF Line(1-6) has hit each
   begin
   Set flag "L1" true
   end

   IF Line(7-12) has hit each
   begin
   Set flag "L2" true
   end

   IF Line(13-18) has hit each
   begin
   Set flag "L3" true
   end

   IF Line(19-24) has hit each
   begin
   Set flag "L4" true
   end

   IF Line(25-30) has hit each
   begin
   Set flag "L5" true
   end

   IF Line(31-36) has hit each
   begin
   Set flag "L6" true
   end

   IF flag "L1" false each
   begin
   Put 100% of Record "progression" Data to Record "Lc1" layout list
   end

   IF flag "L2" false each
   begin
   Put 100% of Record "progression" Data to Record "Lc2" layout list
   end

    IF flag "L3" false each
   begin
   Put 100% of Record "progression" Data to Record "Lc3" layout list
   end

    IF flag "L4" false each
   begin
   Put 100% of Record "progression" Data to Record "Lc4" layout list
   end

    IF flag "L5" false each
   begin
   Put 100% of Record "progression" Data to Record "Lc5" layout list
   end

    IF flag "L6" false each
   begin
   Put 100% of Record "progression" Data to Record "Lc6" layout list
   end
   
   put 1 on Record "Spin counter" Data Index
   set flag "L1" false
   set flag "L2" false
   set flag "L3" false
   set flag "L4" false
   set flag "L5" false
   set flag "L6" false
   end
   end
   

if Record "Hc1" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Hc1" layout list
end

if Record "Hc2" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Hc2" layout list
end

if Record "Hc3" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Hc3" layout list
end

if Record "Hc4" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Hc4" layout list
end

if Record "Hc5" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Hc5" layout list
end

if Record "Hc6" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Hc6" layout list
end

if Record "Lc1" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Lc1" layout list
end

if Record "Lc2" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Lc2" layout list
end

if Record "Lc3" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Lc3" layout list
end

if Record "Lc4" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Lc4" layout list
end

if Record "Lc5" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Lc5" layout list
end

if Record "Lc6" layout list lost each
begin
Put 100% of Record "progression" Data to Record "Lc6" layout list
end

{if total bankroll >= 500 each time
begin
stop session
end
 }

if total bankroll <= -1000 each time
begin
stop session
end

  If Record "progression" Data Index >
  Record "progression" Data Count
    Begin
     put 1 on Record "progression" Data Index

   set flag "L1" false
   set flag "L2" false
   set flag "L3" false
   set flag "L4" false
   set flag "L5" false
   set flag "L6" false

   clear Record "Lc1" Layout
   clear Record "Lc2" Layout
   clear Record "Lc3" Layout
   clear Record "Lc4" Layout
   clear Record "Lc5" Layout
   clear Record "Lc6" Layout

   clear Record "Hc1" Layout
   clear Record "Hc2" Layout
   clear Record "Hc3" Layout
   clear Record "Hc4" Layout
   clear Record "Hc5" Layout
   clear Record "Hc6" Layout
   End

  end
END

 
The following users thanked this post: fiben7