Author Topic: remember trigger  (Read 3729 times)

Tags:
  • All members
  • Posts: 306
remember trigger
« on: 26 Apr 2013, 19:01 »
Hi
i am trying to create a trigger that does the following rember the favs price a min before the start, if it goes 10 ticks above that in play dont bet else lay at evens.
I am struggling to get my head round it
cheers Colin

  • Administrator
  • Posts: 8818
  • Gender: Female
*
Re: remember trigger
« Reply #1 on: 26 Apr 2013, 19:26 »
If you are happy with the favourite's price just before the market turned In-Play, you can use the variable [color]last_layp which returns the lay price of the selection just before the off. So the condition for the lay bet would be:

Favourite's Lay Price is less than r_ticks(last_layp, 10)

If it is absolutely crucial that the price be recorded at 1 min before the off, use the triggers attached. You may also want to add a condition that prevents the laying trigger from betting too early after the market turns In-Play.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 306
Re: remember trigger
« Reply #2 on: 29 Apr 2013, 13:46 »
Thanks that works fine but struggling on the next bit after ive layed at evens green up at 4.0 which is simple to do but i also want to add a condition if the price goes above the price it was remembered at but doesnt reach 4.0 when it comes back down green up when it reaches the remembered price(price a minute before the off)

  • Administrator
  • Posts: 8818
  • Gender: Female
*
Re: remember trigger
« Reply #3 on: 30 Apr 2013, 11:49 »
If I'm getting your line, you want to green up if the lay bet was matched. If it wasn't, you don't want to place the back bet, right?

If so, see the updated trigger file attached. To be honest, I could find a race where all your conditions would be satisfied.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 306
Re: remember trigger
« Reply #4 on: 30 Apr 2013, 15:55 »
if matched its greenup at 4 or green up at remembered price if price goes above that price but comes back down before it reaches 4
cheers

  • Administrator
  • Posts: 8818
  • Gender: Female
*
Re: remember trigger
« Reply #5 on: 01 May 2013, 08:38 »
price goes above that price but comes back down before it reaches 4

How much should it drop "before it reaches 4"? Clarify this condition please.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 306
Re: remember trigger
« Reply #6 on: 01 May 2013, 09:54 »
It needs to drop back down to the price it was a minute before the off
thanks
an example
price a minute before 3.0
layed in play at 2.0
price then goes out to 3.8 but doesnt reach 4.
it comes back down to 3.0
so green up at 3

  • Administrator
  • Posts: 8818
  • Gender: Female
*
Re: remember trigger
« Reply #7 on: 01 May 2013, 09:58 »
Then the triggers I gave you yesterday should do the job.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 306
Re: remember trigger
« Reply #8 on: 01 May 2013, 11:28 »
Thanks very much

 

Please note, BetFair is seems to be currently OFFLINE