Author Topic: Trigger block  (Read 1106 times)

Tags:
  • All members
  • Posts: 9
Trigger block
« on: 29 Nov 2017, 18:53 »
Hi, i want to know how does the program process trigger blocks.


I made a simple trigger and i think blocks execute in parallel...if conditions are meet for each block.... is it correct?

Is there any way to execute blocks sequencially?

Tks!

  • Moderator
  • Posts: 3597
*
Re: Trigger block
« Reply #1 on: 30 Nov 2017, 06:50 »
Hi
Yes you are right, triggers will execute as soon as conditions are met. Some examples of how to execute sequentially (or conditionally):

Trigger A
back fav

Trigger B
lay fav
Condition: Trigger A number of runs is greater than 0
see manual for difference between number of runs and number of runs per selection

OR

Trigger A
back fav

Trigger B
lay fav
Conditions:
favs back matched is greater than 0
or favs back unmatched is greater than 0

You can also use a trigger action: Activate trigger or block...
 


 
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 6
Re: Trigger block
« Reply #2 on: 30 Nov 2017, 12:13 »
Hi
Yes you are right, triggers will execute as soon as conditions are met. Some examples of how to execute sequentially (or conditionally):

Trigger A
back fav

Trigger B
lay fav
Condition: Trigger A number of runs is greater than 0
see manual for difference between number of runs and number of runs per selection

OR

Trigger A
back fav

Trigger B
lay fav
Conditions:
favs back matched is greater than 0
or favs back unmatched is greater than 0

You can also use a trigger action: Activate trigger or block...
 


 
Excelent! Tks for replay!

How do i "serialize" a trigger between two "threads"!?
I mean... i'm betting in the under 2.5 market....and i have 2 matches within selection market.
Conditions are meet and trigger fires on match one .... can i prevent trigger running in match 2?

I tried a global variable: in first action i set some value that i use in conditions, and in last action i set value again, but if trigger starts simultaniously in 2 o 3 matches they all sees the same value.... 

Maybe using remember function?

Tks!




  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Trigger block
« Reply #3 on: 30 Nov 2017, 13:12 »
Just add this standard block of conditions to the betting trigger:

AND
  Trigger {name of the betting trigger} Number of runs is equal to 0
  or Previous Triggered Event's Outcome is Settled
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE