Pages:
Actions
  • #1 by layfavin on 03 Apr 2019
  • Hi,

    How do I write a trigger to remember my last matched lay price on the 1st fav?

    When trading , I am laying the fav but I may need to take a stoploss on the trade. In that case I want to fill another unmatched lay bet at the same price.

    For example I lay at 2 and then price goes to 1.97. I will then scratch  the trade and want to enter another lay bet at 1.97 unmatched on the 1st fav again. I will keep repeating this process until I made profit or close at a loss 10 seconds before the off.

  • #2 by layfavin on 03 Apr 2019
  • I created the scratch trade logic , need to remember the price and enter market again at that price.
  • #3 by mcbee on 03 Apr 2019
  • hi
    bm_layp = the last matched lay price.
    bm_laya = the last matched bet amount.

    mcbee
  • #4 by layfavin on 03 Apr 2019
  • H Mcbee,

    how do i get the attached to only , action laying in my second block if and when my first lay is traded out?
  • #5 by mcbee on 03 Apr 2019
  • hi
    Continue trading trigger.
    and selections number of matched back bets is equal to bm_laynum

    but your backing trigger will only place 1 bet.

    mcbee
  • #6 by layfavin on 04 Apr 2019
  • Thanks Mcbee,

    Added, however it’s not filling the second lay bet once the first bet is scratched? Any idea why?
  • #7 by mcbee on 04 Apr 2019
  • hi
    look at the condition in the Continue trading trigger , time to learn some more.


    mcbee
Pages:
Actions