Bet Angel - Automation : Close trade after 10 min. ?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
tb_smoelf
Posts: 62
Joined: Tue Mar 03, 2015 2:56 pm

Thu Jan 25, 2018 8:36 am

Hi.

How do I make a rule to close the trade 10 min. after the first rule has triggert?

Bets, Tim

User avatar
jimibt
Posts: 1298
Joined: Mon Nov 30, 2015 6:42 pm

Thu Jan 25, 2018 8:44 am

Tim - you could add a signal to the first rule and then monitor for when that signal had been triggered between 600 seconds (10 minutes) and your monitoring cutoff time... i'll pop a rule on here to demonstrate in very simple terms (as i don't know your rule)... will put it here later this morning when i get the opportunity.

User avatar
tb_smoelf
Posts: 62
Joined: Tue Mar 03, 2015 2:56 pm

Thu Jan 25, 2018 8:52 am

Thanks ;)

User avatar
jimibt
Posts: 1298
Joined: Mon Nov 30, 2015 6:42 pm

Thu Jan 25, 2018 9:00 am

ok, here's the basic idea:

1. Your 1st rule fires and sets a signal at selection level when it triggers (selectionTriggered)
2. A second rule runs in parallel and has a simple condition in place to monitor how long since selectionTriggered was triggered
3. On reaching the designated moment (600 seconds after the signal in rule #1 was triggered), the 2nd rule will fire

I've attached a very simple/basic rule that demonstrates this approach... there's no logic in the rules, other than the examination of the selectionTriggered signal, so hopefully is pretty clear.

cheers
jim
You do not have the required permissions to view the files attached to this post.

User avatar
Dallas
Posts: 9020
Joined: Sun Aug 09, 2015 10:57 pm
Contact:

Thu Jan 25, 2018 9:59 am

If you're using the latest V1.49 an option has been added to the rule trigger times area where you can set a subsequent rule to trigger anytime after the first has triggered.
https://www.betangel.com/user-guide/fir ... 3D&mw=MzIw

User avatar
tb_smoelf
Posts: 62
Joined: Tue Mar 03, 2015 2:56 pm

Thu Jan 25, 2018 9:11 pm

Thanks for the help.

Post Reply

Return to “Bet Angel - Automation”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests