Author Topic: Laying the draw if certain variables matches in two different markets  (Read 3976 times)

Tags:
  • All members
  • Posts: 123
Hi!

I tried to modify "Laying in Half Time and backing in Half Time/Full Time (updated)" trigger to do the following but apparently there should be other stuff included.  ???

1. Remember "Over" price in "Over/Under X" market (certain conditions have to be met)
2. Check LAY price for "The Draw" in "Match Odds" (certain conditions have to be met)
3. IF price for Over is between X and Y AND LAY price is between X and Y -> LAY the draw

Indexes in Half Time/Full time -trigger are same but in this they are different (2 and 3).

Could you help something to start with?

  • Élite
  • Posts: 3698
  • Gender: Male
*
hi
here is a trigger for you to use.
in the constants you can set.
minimum draw odds (lay)
maximum draw odds (lay)
bet amount
minimum over market lay price
maximum over market lay price
minutes before the start time to start betting
minimum market volume
markets name contains set to 2.5 (just put the number of the under/over market that you want)

you must be monitoring the match odds and the under/over market that you choose.

please use test mode until you are happy with your settings

mcbee

download the trigger below
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: 123
hi
here is a trigger for you to use.
in the constants you can set.
minimum draw odds (lay)
maximum draw odds (lay)
bet amount
minimum over market lay price
maximum over market lay price
minutes before the start time to start betting
minimum market volume
markets name contains set to 2.5 (just put the number of the under/over market that you want)

you must be monitoring the match odds and the under/over market that you choose.

please use test mode until you are happy with your settings

mcbee

download the trigger below

Thanks! I'm testing this. Too bad that it's quite a quiet day in football.  :-\

  • All members
  • Posts: 123
Thanks! I'm testing this. Too bad that it's quite a quiet day in football.  :-\

mcbee

I think I understand now a bit more from triggers than when I asked about this.

Are you sure your trigger works as intended cause I don't find "Match Odds" name anywhere..?

Could you check altered trigger, which I made from your trigger for other market. Should it work? Will it interfere with the other which we have talked quite a lot (as same id)? Didn't use constants as almost all should be as is.

If I get this to work, I'll have triggers for:

- total goals
- match odds
- correct score
- under/over

Nice!  ;D

  • Élite
  • Posts: 3698
  • Gender: Male
*
hi
i checked my trigger and it works ok, because it checks the under/over market then places the bet on index 3, the under/over market only has 2 selections, but the match odds has 3  ;D

i will check your trigger now

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.

  • Élite
  • Posts: 3698
  • Gender: Male
*
hi
just checked your trigger and no it will not work.
you have the condition
and selections trigger expression uo2.5_market_parent_id_2_back_price is less than 2
with you giving the index 2 in the check prices trigger, there is only 1 in the market parent id
when it remembers it will remember the selection that you specify or all selections if you do not specify the selection.
also i have altered the condition
and selections trigger expression market score1+market score2 is equal to 1
with this if there is another quick goal the green up would not fire because the score would be more than 1
so i have changed it to equal or greater than 1
and welldone you are learning.


mcbee

download the trigger below
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: 123
hi
just checked your trigger and no it will not work.
you have the condition
and selections trigger expression uo2.5_market_parent_id_2_back_price is less than 2
with you giving the index 2 in the check prices trigger, there is only 1 in the market parent id
also i have altered the condition
and selections trigger expression market score1+market score2 is equal to 1
with this if there is another quick goal the green up would not fire because the score would be more than 1
so i have changed it to equal or greater than 1
and welldone you are learning.


mcbee

download the trigger below

LOL! I'm not sure if I'm learning at all! :) Of course there is only one index! That's nr 2! My bad!

Originally I wanted to ask this from you as in correct score and total goals market there are more indexes than 3.. :)

  • All members
  • Posts: 123
LOL! I'm not sure if I'm learning at all! :) Of course there is only one index! That's nr 2! My bad!

Originally I wanted to ask this from you as in correct score and total goals market there are more indexes than 3.. :)

I think uo2.5_market_parent_id is interfering with the other trigger (the one with U3.5 and correct scores).

As in this trigger it will try to check that O2.5 is under 2 and then bet but because the same conditions fires in U3.5 and correct score trigger (where O2.5 has to be higher), bet will be put in place regardless the situation...

How can I make two different parent_id's so different triggers distinguish different variables?

  • Élite
  • Posts: 3698
  • Gender: Male
*
hi
just name the market parent id different.
uo2.51_market_parent_id
uo2.52_market_parent_id


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: 123
hi
just name the market parent id different.
uo2.51_market_parent_id
uo2.52_market_parent_id


mcbee

Oh that simple..  :o

 

Please note, BetFair is seems to be currently OFFLINE