Author Topic: Backprices difference (ticks)  (Read 1278 times)

Tags:
  • All members
  • Posts: 21
  • Gender: Male
Backprices difference (ticks)
« on: 02 Mar 2018, 16:12 »
Hello

Is there a variable that indicates a difference (ticks) between the current backprices of players 1 and 2 in tennis?

  • Administrator
  • Posts: 8824
  • Gender: Female
*
Re: Backprices difference (ticks)
« Reply #1 on: 03 Mar 2018, 15:08 »
Hello!

g_ticks(s_1_back_price, s_2_back_price)

If it is positive, then the back price of Player 2 is higher than that of Player 1 by the number of ticks returned.
If it is negative, then the back price of Player 2 is lower than that of Player 1 by the number of ticks returned.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 21
  • Gender: Male
Re: Backprices difference (ticks)
« Reply #2 on: 04 Mar 2018, 14:52 »
Thank you Oxa.

To complement, who wants to take the absolute difference (always positive value), use ABS function:

ABS(g_ticks (s_1_back_price, s_2_back_price))

  • Administrator
  • Posts: 8824
  • Gender: Female
*
Re: Backprices difference (ticks)
« Reply #3 on: 05 Mar 2018, 14:47 »
Great, thanks for being helpful on the forum!
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE