Pages:
Actions
  • #1 by bym on 29 May 2013
  • Hi All, I must be having a bad day since I cannot seem to get my head around this.

    I want to set up a trigger block that basically checks for the following conditions before activating the trading trigger block. The conditions being:

    Minimum of 5 Selections with an actual_sp less than or equal 30

    I can't believe I am struggling with it because it seems so simple, but I have tried both remember and setting a user variable, but when I come to apply it in the 'activate trigger block' trigger I can't seem to apply it successfully. If anybody can help that would be great. Thanks.
  • #2 by mcbee on 29 May 2013
  • hi
    the easiest way would be to use the fifth favourite sp price, because if this is 30 or less then you must have 5 or more selections with 30 or less.
    and selections trigger expression r_5_actual_sp is equal or lees than 30

    but remember that you can only use the actual sp after in-play


    mcbee
  • #3 by MarkV on 29 May 2013
  • Hi
    Selection's Actual Starting Price is equal or less than 30.00
    and Selection's Trigger Expression matching_number is equal or greater than 5
  • #4 by bym on 29 May 2013
  • Makes complete sense guys (and so simple) just couldn't get my head round it today. Thanks for your time.
  • #5 by Oxa (WellDoneSoft) on 03 Jun 2013
  • If I'm not mistaken, the author wants the minimum [priced] selection out of the five with an actual SP less than 30? In that case the fifth matching selection will be in fact the highest priced one.


    Selection's Actual Starting Price is equal or less than 30.00
    and Selection's Trigger Expression matching_number is equal to 1
  • #6 by mcbee on 03 Jun 2013
  • hi oxa
    the author wants to make sure that there are at least 5 selections with odds less than 30.00.
    so having the 5th fav with odds of 30.00 the other 4 favs must be 30 or less, giving a total of 5 selections with a price below 30.00.


    mcbee
Pages:
Actions