Author Topic: pdif_3/(back_price-pdif_3) doesnt work [TCKT23052013DIF]  (Read 2972 times)

Tags:
  • Guest
my trigger condition doesnt work:

Selections Trigger Expression pdif_3/(back_price-pdif_3) is outside -0,19 and 0,19

the trigger should do:
record the back-price difference about the last 3 minutes and wenn the percent of the difference is more than 20%, then place a bet.

why it doesnt work?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: pdif_3/(back_price-pdif_3) doesnt work
« Reply #1 on: 23 May 2013, 10:05 »
hi
i am not sure what you are trying to do with the  is outside -0,19 and 0,19
but if you use   is between  0 and 19 
then there is no problem

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.

  • Guest
Re: pdif_3/(back_price-pdif_3) doesnt work
« Reply #2 on: 23 May 2013, 14:00 »
thx, you are right, I corrected it into "more than 0.1"

but anyway, it doesnt place bets. there are selections on which the prices changed much more than 10%, but no bet is placed. trigger log says always: FALSE.

any idea?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: pdif_3/(back_price-pdif_3) doesnt work
« Reply #3 on: 23 May 2013, 14:47 »
hi
can you include your trigger so that i can see why it is giving a false.
i tested the between and it placed bets ok.

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.

  • Guest
Re: pdif_3/(back_price-pdif_3) doesnt work
« Reply #4 on: 23 May 2013, 19:01 »
mcbee,

the trigger has no other condition than:

Selections Trigger Expression pdif_3/(back_price-pdif_3) is equal or greater than 0.1

back, back_price, 0.01, cancel
all matching selections, horse races, once per selection, idle or suspended

I have the formula from the manual, see page 122, example 1, only that my trigger is much easier.
I tried now some hours and no bet is placed. of course there were some selections that within 3 minutes had a changing of over 10%.
example: 4:00 minutes before the off the back_price was 8.4
0:20 seconds before the off the back_price was 6.2
formula:
pdif_3: -2.2
back_price: 6.2
back_price-pdif_3: 6.2 -(-2.2) = 8.4
pdif_3/(back_price-pdif_3): 2.2/8.4 = 0.26
0.26 is > 0.1, condition is TRUE

in the settings I turned on the function "trigger expression" to understand whats going on. here is an example:

Selection: Dragon City, initial expr.: pdif_3/(back_price-pdif_3), intermediate: 0/(9.40-0), final: 0.

it seems that the trigger does NOT record any changing of the price, its 0 on all selections and so the result of the formula is 0 and so FALSE.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: pdif_3/(back_price-pdif_3) doesnt work
« Reply #5 on: 23 May 2013, 19:24 »
i have just checked again and after about half a minute it placed 4 bets.
make sure that you have set your bot to bet below the betfair limit.
make sure that you have set the default history to at least 10 minutes
i have included my basic test trigger

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.

  • Guest
Re: pdif_3/(back_price-pdif_3) doesnt work
« Reply #6 on: 23 May 2013, 19:29 »
oh mcbee,

thx for your super quick reply and SORRY that I am so un-intelligent: the market depth will be the problem, its set to only 1 min for other reasons......................

yes, it was the problem, logical clear easy. now everything is ok.
again sorry.

 

Please note, BetFair is seems to be currently OFFLINE