Pages:
Actions
  • #1 by Elf on 01 Feb 2017

  • I'm enjoying the challenge of making my own triggers but I am stumped as to how to get a trigger to fill if it meets the conditions or kill the trigger if it doesn't.

    Basically I have 3 selections per race which I have a trigger set to back for example 1 selection if price is between a & b, another trigger to back 2 selections if price is between c & d and further triggers that do the similar. It works, but the triggers stay open so if I matched in the first trigger and the price goes out it matches again according to the conditions of the second trigger.

    What I want to do is for all triggers to fire together and only match if the conditions suit at that time, in otherwords, only one trigger to successfully match.

    Can anyone help?
  • #2 by mcbee on 01 Feb 2017
  • hi
    please check this trigger example , it contains 3 ways to match unmatched bets including fill or kill.
    http://marketfeederpro.com/learn/triggers/matching-bets/


    mcbee
  • #3 by Elf on 01 Feb 2017
  • Thanks for your prompt reply.

    However I am just as confused. The file didn't come up as a mft file but an xml which was all code. I wasn't able to decipher anything from it other than you can set the market to time out. I cant find anywhere in the trigger where the market is a option.

    I assume i would put something into the constant variables to make this happen but cant seem to find anything anwhere.
  • #4 by mcbee on 01 Feb 2017
  • hi
    in the 3 betting triggers add.
    and markets number of matched back bets is equal to 0
    so once a bet is matched no other trigger will place a bet 
    just in case you have unmatched bets after one gets matched ,now create a cancel back bets trigger with the condition
    and markets number of matched back bets is greater than 0


    mcbee
Pages:
Actions