Author Topic: Trigger Expression Help [TCKT19062013EXPR]  (Read 3205 times)

Tags:
  • All members
  • Posts: 24
Trigger Expression Help [TCKT19062013EXPR]
« on: 19 Jun 2013, 16:39 »
What is the expression for I bet the same amount as the previous bet back plus I want to win. There should be something like: (init_bet + bm_backa)/(back_price-1)

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Trigger Expression Help
« Reply #1 on: 19 Jun 2013, 21:05 »
hi
(init_bet+hist_1_backa)/(back_price-1)

init_bet = your set bet amount
hist_1_backa = the amount of the last settled back bet

this needs the last bet to be 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: 24
Re: Trigger Expression Help
« Reply #2 on: 20 Jun 2013, 06:28 »
Thanks, but what I want is to bet the same market without him even having settled

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Trigger Expression Help
« Reply #3 on: 20 Jun 2013, 09:07 »
are you betting on the same selection or a new selection


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: 24
Re: Trigger Expression Help
« Reply #4 on: 20 Jun 2013, 10:30 »
are you betting on the same selection or a new selection


mcbee

Is a New selection

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Trigger Expression Help
« Reply #5 on: 20 Jun 2013, 11:11 »
with it been a new selection there is no variable for the amount that is bet on another selection.
there are a few ways to work with it.
you would have to put all the selections bm amounts,like this
(init_bet+s_1_bm_backa+s_2_bm_backa+s_3_bm_backa+(up to the maximum number of selections))
or you could use the balance and funds available, like this
(init_bet+IF(test_mode=0,balance-total_funds,test_balance-test_funds))
this will place your initial bet amount plus any other bet amount that has been placed.


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: 24
Re: Trigger Expression Help
« Reply #6 on: 21 Jun 2013, 09:59 »
Thank you, it worked. Now one more question, is there any way to bet on the outcome following in CS? Example 2-1 is the game and I bet on 2-2 and 3-1.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Trigger Expression Help
« Reply #7 on: 21 Jun 2013, 10:42 »
you would have to use market_score1 and market_score2 for the score 2-1, like this
and selections trigger expression market_score1 is equal to 2
and selections trigger expression market_score2 is equal to 1
 then for the selection you would use the index number like this
and selections index is in list  11,14

so if the score is 2-1 then place a bet on index 11 (2-2) and 14(3-1)


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.

 

Please note, BetFair is seems to be currently OFFLINE