Restarting Rules

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
DanMcWilliams
Posts: 54
Joined: Thu Nov 20, 2014 12:11 pm

I am trying to restart my rules from the beginning.
I have a set of 6 rules.
If Rule 1 doesn't reach its target, rule 2 fires and if that doesn't reach its target then rule 3 fires etc.
I would like to reset the to the beginning once one of my rules hits its target.
Any help would be appreciated or any links to articles on this.

Thanks
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

Hi Dan
I had a look at your file last weekend and after 2 hours, I could not get it work properly. The file was getting to complexed for what it should be.

The conclusion that I came to was, you would be better to use increment signals to trigger each rule. That way it would be a lot easier to reset the file.
Something along the lines of,
BET 1 > signal > increment 1
Bet 2 condition = signal =1 , condition = no unmatched bets > signal > increment 2
And so one.
I forget what other conditions you had.

You would reset the rule by, Saving the price your off setting to as a SV.
Then you would check if your last matched bet is equal to the saved SV offset price. If that’s true then clear the signal or set it to 0 /1 and start again.

You will also need change the triggers to unlimited and use the condition (signal value condition) to check the incremented signal triggers the correct rule, only once at a time.
I think that is where I was having trouble last weekend.

Im a bit busy this weekend but should have time next week if you need me to have a look at the file.

Ps, I have just seen your pm , ill post here, it may help someone else.
Post Reply

Return to “Bet Angel - Automation”