Author Topic: help with a condition please...  (Read 5135 times)

Tags:
  • All members
  • Posts: 163
help with a condition please...
« on: 09 Jun 2013, 13:02 »
Hi, can anyone help me with the formula for a trigger expression please?

I want to put a condition in one of my triggers to NOT fire if there are 5 or more selections between odds of 5.2 and 14.

Thanks

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: help with a condition please...
« Reply #1 on: 09 Jun 2013, 13:39 »
hi
and selections back_price is between 5.2 and 14.00
and trigger expression matching_number is less than 5

the 2 conditions above must be put in a condition block of there own or be the first 2 conditions


mcbee
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.

  • All members
  • Posts: 163
Re: help with a condition please...
« Reply #2 on: 09 Jun 2013, 17:05 »
Thankyou Mcbee, I'll put them in for tomorrow...

  • All members
  • Posts: 163
Re: help with a condition please...
« Reply #3 on: 09 Jun 2013, 18:38 »
Hi Mcbee, what if I want to apply this condition to another trigger outside of the odds range specified?

In other words, I want another trigger to fire outside of the specified odds but only if there are less than 5 selections between 5.20 and 14?

So the first condition "and selections back_price is between 5.2 and 14.00" would not be true.

Hope you understand what I mean?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: help with a condition please...
« Reply #4 on: 09 Jun 2013, 18:48 »
hi
and not selections back_price is between 5.2 and 14.00
and trigger expression matching_number is less than 5

this should do it but i have not tested the idea.


mcbee
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.

  • All members
  • Posts: 163
Re: help with a condition please...
« Reply #5 on: 09 Jun 2013, 19:18 »
hmmm, would it not apply the 2nd condition to all the other selections except those between 5.20 and 14? but if you think that's right I'll try it tomorrow...

thanks once again...

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: help with a condition please...
« Reply #6 on: 09 Jun 2013, 19:56 »
hi
with it starting with       and not
then any selection that is not between 5.2 and 14.00 would count
so if there are 5 or less with the odds of less than 5.2 and more than 14.00 then place the bet.


mcbee
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.

  • All members
  • Posts: 163
Re: help with a condition please...
« Reply #7 on: 09 Jun 2013, 20:56 »
Hi Mcbee,

What I want this 2nd trigger to do is place a dutch bet on any selections that are below 5.20, but only if there are less than 5 selections between 5.20 and 14.00...

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: help with a condition please...
« Reply #8 on: 09 Jun 2013, 21:52 »
hi
in that case you need your dutching trigger to have 2 condition blocks.
the first condition block
and selection's back_price is less than 5.2
and trigger expression matching_number is between (the minimum selections that you want to bet on) and  (the maximum selections you want to bet on)

second condition block
and any other selection's back_price is between 5.2 and 14.00
and selection's trigger expression matching_number is equal or less than 5


mcbee
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.

  • All members
  • Posts: 163
Re: help with a condition please...
« Reply #9 on: 10 Jun 2013, 10:42 »
Of course! that makes perfect sense  ::)

Don't know why I couldn't work that out, thanks once again for your invaluable help mcbee.

  • All members
  • Posts: 163
Re: help with a condition please...
« Reply #10 on: 10 Jun 2013, 11:17 »
Hi Mcbee, I've just altered the 2 triggers, and can I confirm that one of my additional conditions for this trigger "and selections Trigger Expression match_b_book is equal or less than 81" should also be incorporated in this first condition block in the dutch trigger?  

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: help with a condition please...
« Reply #11 on: 10 Jun 2013, 12:06 »
hi
it can go in the second condition block, after the matching_number condition


mcbee
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.

  • All members
  • Posts: 163
Re: help with a condition please...
« Reply #12 on: 10 Jun 2013, 14:21 »
working perfectly Mcbee...  :)

 

Please note, BetFair is seems to be currently OFFLINE