Author Topic: condition  (Read 4709 times)

Tags:
  • All members
  • Posts: 195
condition
« on: 30 Mar 2013, 14:49 »
Hi how do i write a condition
i want to back a horse at x if the next horse in the betting is x amount of ticks higher an example would be back at 2 only if the next horse is over 4 so would result in 70 ticks
Regards Andrew

  • Moderator
  • Posts: 3597
*
Re: condition
« Reply #1 on: 30 Mar 2013, 15:05 »
Hi
For fav:
and second favourites back price is equal or greater than r_ticks(r_1_back_price, 70)

or
First matching selection
all other selection's back price is equal or greater than r_ticks(back_price, 70)
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: 195
Re: condition
« Reply #2 on: 30 Mar 2013, 15:25 »
Cheers Mark i wasnt that far of with my conditions but i wasnt quite there

  • All members
  • Posts: 195
Re: condition
« Reply #3 on: 02 Apr 2013, 18:37 »
Hi i used the condition First matching selection
all other selection's back price is equal or greater than r_ticks(back_price, 80) which is 5 but it still bet even though the next horse was 4.9 so i tried the condition
all others selections back price is equal or greater than 5 and still didnt work.
I have a user variable for r_2_back_price to record the 2nd horse at the time of matching would they be conflicting with each other by any chance? Also is the condition
all others selections back price is equal or greater than 5 worded correct?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: condition
« Reply #4 on: 02 Apr 2013, 19:05 »
hi
if you are backing the fav if the second fav is x ticks greater, then use the condition.
and selections trigger expression r_2_back_price is equal or greater than r_ticks(r_1_back_price,80)

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.

  • Moderator
  • Posts: 3597
*
Re: condition
« Reply #5 on: 02 Apr 2013, 19:09 »
Hi
First matching selection
selection's back price is less than r_ticks(back_price, 80)
and all other selection's back price is equal or greater than r_ticks(back_price, 80)
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: 195
Re: condition
« Reply #6 on: 02 Apr 2013, 19:23 »
Thanks lads  :) Mcbee i am backing the 1st matching.
Mark if i use the condition selection's back price is less than r_ticks(back_price, 80) does this back when the gap is 80 ticks or do i have the condition selections back price is equal or less than 2?

  • Moderator
  • Posts: 3597
*
Re: condition
« Reply #7 on: 02 Apr 2013, 19:30 »
I was just thinking about that. The first condition is almost a dummy condition. You could just as well have
First matching selection
selection's back price is greater than 1.01
and all other selection's back price is equal or greater than r_ticks(back_price, 80)

it should do it unless anyone can think of a better 1st condition?
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: 195
Re: condition
« Reply #8 on: 02 Apr 2013, 19:36 »
Mark what condition do i use for inplay fav and 2nd fav?

  • Moderator
  • Posts: 3597
*
Re: condition
« Reply #9 on: 02 Apr 2013, 19:39 »
Mark what condition do i use for inplay fav and 2nd fav?
Rank

I think you need to define the first selection a bit better. Rank is a good start, but then so is mcbee's suggestion above
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: 195
Re: condition
« Reply #10 on: 02 Apr 2013, 19:54 »
Thanks i will use a few different conditions cheers  :)

 

Please note, BetFair is seems to be currently OFFLINE