Pages:
Actions
  • #1 by HeadByro on 10 May 2013
  • Hi,

    Just enquiring as to whether there is an expression that can be used to remember or refer to a bet made by a speific trigger without using the remember function and  also how to express in a trigger condition that the price has gone in the wrong direction in reference to an unmatched lay bet placed by a trigger that is sitting in the market.

    For example if I have Trigger A which will fire a back bet @ the lay price if certain conditions are met. If the bet is unmatched and the price moves 1-tick in the wrong direction, then I want to cancel the bet.

    Can a cancel command refer to a trigger expression condition spefically made by Trigger A? For example Selections trigger_expression Trigger A Back Unmatched =0?

    I have been using the remember command (Rem), with back_unmatched = 0 but I am having trouble expressing that the price is gone in the wrong direction. Any suggestions welcome.

    Thanks

    Eoghan
  • #2 by mcbee on 10 May 2013
  • hi
    you would have to use the bu_backp (for unmatched back bet) or bu_layp (for unmatched lay bet)
    for the back bet
    and selections back price is equal or less than r_ticks(bu_backp,-1)
    for the lay bet
    and selections lay price is equal or less than r_ticks(bu_layp,1)
    if you are using the remember then set it to remember selections bets

    mcbee
  • #3 by MarkV on 10 May 2013
  • Hi
    I would suggest similar to mcbee but if you did not want to use remember:
    Trigger A Number of Runs is greater than 0
    and selection’s back price is equal or less than r_ticks(bu_backp, -1)
  • #4 by HeadByro on 10 May 2013
  • Thank you!
Pages:
Actions