Author Topic: Back bet to win a specific amount.  (Read 2847 times)

Tags:
  • All members
  • Posts: 36
Back bet to win a specific amount.
« on: 03 Oct 2015, 19:29 »
Hello everyone,

I need a trigger that bet TO WIN a specific amount (lets say 10€) in 1 selection after the last market pl is settled and i have won the bet, (last race pl > 0) can anyone help?

Thank you

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Back bet to win a specific amount.
« Reply #1 on: 03 Oct 2015, 20:07 »
hi
back bet to win is  (10/(back_price-1))*(1+commission)
lay bet to win is 10*(1+commission)
or you can use your free trigger request using this link http://community.welldonesoft.com/make-me-a-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.

  • All members
  • Posts: 36
Re: Back bet to win a specific amount.
« Reply #2 on: 03 Oct 2015, 20:39 »
And how to do the , only bet if i won last race or if the setleed pl is > 0?

Will it go in the same trigger?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Back bet to win a specific amount.
« Reply #3 on: 03 Oct 2015, 21:03 »
hi
the condition
and previous triggered events settled P/L is greater than 0


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: 36
Re: Back bet to win a specific amount.
« Reply #4 on: 04 Oct 2015, 00:39 »
that one i know but it doesnt work on USA Markets,  that condition is always as False in the logs, any other suggestion please?

Also

How do i back bet to win what i lost in the last race + 10£ (for example)?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Back bet to win a specific amount.
« Reply #5 on: 04 Oct 2015, 13:27 »
hi
you could use
and trigger expression new_statement is equal to 1
and trigger expression hist_1_pl is greater that 0
that shows there is a new record in the statement and that the profit/loss is greater than 0

((last_lost+10)/(back_price-1))*(1+commission)


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: 36
Re: Back bet to win a specific amount.
« Reply #6 on: 04 Oct 2015, 19:32 »
That works but dont prevent the trigguer to fire at all races after a loss, for example after 1 loss the trigger backs all races that are available.

how can i only back 1 at a time, and just back again in another one, after another loss?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Back bet to win a specific amount.
« Reply #7 on: 04 Oct 2015, 19:50 »
hi
and trigger expression  IF(test_mode=1,test_balance,balance) is equal to IF(test_mode=1,test_funds,total_funds)
that will check to see if there are any bets that are not settled


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: 36
Re: Back bet to win a specific amount.
« Reply #8 on: 04 Oct 2015, 20:05 »
thank you, ill try this now :)

 

Please note, BetFair is seems to be currently OFFLINE