Author Topic: place market bet based on condition in win market name  (Read 2192 times)

Tags:
  • All members
  • Posts: 1
  • Karma: +0/-0
place market bet based on condition in win market name
« on: Fri, 08 July, 2011, 20:15 »
Hello
I'm trying, unsuccessfully, to write a trigger that identifies the favourite in maiden races between 1m and 2m, (win markets) and then places a bet on that selection in the corresponding place market. The place market name doesn't contain "1m" or "Mdn". The "winplace_market_name" doesn't allow "contains". I can't successfully transfer a remembered value to a bet trigger. Any help would be gratefully received.
Thanks
lhy

  • √Člite
  • Posts: 4458
  • Karma: +252/-10
  • Gender: Male
*
Re: place market bet based on condition in win market name
« Reply #1 on: Fri, 08 July, 2011, 20:52 »
hi
set a variable name (whatever) trigger value to 0
once per market
set another variable trigger same name as your other variable, value to 1.
once per market
conditions
condition block
and markets name contains Mdn
condition block
or  markets name contains 1m
or markets name contains 2m (if you do not want to bet above 2m then you will have to have another condition block with or does not contain 2m 1f etc)
betting trigger condition
and trigger expression (your variable name) is equal to 1

so if the win market has your conditions, the variable will change to 1
then you place betting trigger condition will pick this up and place a bet.

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.