Author Topic: Stopping Trigger  (Read 1425 times)

Tags:
  • All members
  • Posts: 207
Stopping Trigger
« on: 16 Jan 2016, 13:27 »
Hi, I am here again, I have written a trigger that seems to work ok; it is a back then lay trigger.
There are two potential lays so how do I stop the trigger after either of these lays has taken place.
As obviously I only want one or the other to trigger, then close the trigger down completely.
Mike

  • Guest
Re: Stopping Trigger
« Reply #1 on: 16 Jan 2016, 13:32 »
Hi


depending on the trigger, you could use the firing execution option of ONCE PER MARKET.

  • All members
  • Posts: 405
Re: Stopping Trigger
« Reply #2 on: 16 Jan 2016, 16:34 »
or maybe could you use the trigger expression:


trigger xxxxx1 number of runs is equal to 0
and
trigger xxxxx2 number of runs is equal to 0

That way the trigger will only fire if both those triggers haven't fired yet in the market.


  • Moderator
  • Posts: 3597
*
Re: Stopping Trigger
« Reply #3 on: 16 Jan 2016, 17:53 »
Hi
If the same trigger handles both lays then "First Matching Selection"
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.

  • Guest
Re: Stopping Trigger
« Reply #4 on: 16 Jan 2016, 20:17 »
maybe you could use also use


cancel then lay if your first lay attempt bet missed the boat and is waiting as unmatched.


 

Please note, BetFair is seems to be currently OFFLINE