Author Topic: Determining the duration of a race and time left till the end  (Read 31398 times)

Tags:
  • Administrator
  • Posts: 8924
  • Karma: +335/-2
  • Gender: Female
*
I've just added this trigger example.

Determining the duration of a race and time left till the end. See below.

I thought it might be useful, especially if your strategy is based on betting towards the end of the race.

Let me know what you think.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Usuários brasileiros, bem vindos ao nosso WhatsApp chat!

Присоединяйтесь к нашей официальной группе ВКонтакте!

  • Tim Vetrov
  • Administrator
  • Posts: 4482
  • Karma: +17/-0
  • Gender: Male
*
Re: Determining the duration of a race and time left till the end
« Reply #1 on: Tue, 13 July, 2010, 10:36 »
The triggers also set a RaceDistance trigger variable that contains the race distance in meters.
For example:
Code: [Select]
Trigger Expression RaceDistance is less than 4828.032selects races shorter than 3 miles.
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 18
  • Karma: +1/-0
Re: Determining the duration of a race and time left till the end
« Reply #2 on: Sun, 26 September, 2010, 19:44 »
Hi please bear with me I'm new to this excellent piece of software. This time to end trigger is just what I need except that I want to use the variable TimeToEnd in a trigger that places a bet in the place market. As your trigger stands it doesn't set the variable RaceTime for the place market and as a result I can't get the correct value of TimeToEnd for use in my place market trigger. How can I resolve this please ?

  • Tim Vetrov
  • Administrator
  • Posts: 4482
  • Karma: +17/-0
  • Gender: Male
*
Re: Determining the duration of a race and time left till the end
« Reply #3 on: Sun, 26 September, 2010, 20:24 »
Welcome!

Unfortunately there is no information about race distance in the place market name.
I changed the triggers to make them work in place markets as well but it may not work correctly when the first selection is withdrawn (it's id is used to link the markets).

Sorry, haven't tested the TimeToEnd variable - it's too late today.
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 18
  • Karma: +1/-0
Re: Determining the duration of a race and time left till the end
« Reply #4 on: Sun, 26 September, 2010, 21:04 »
Hi thanks for that super fast response !  :) I'm experimenting by changing your triggers for RaceDistance and RaceTime to be place market triggers, and changed your formulae to operate on winplace_market_name to reference the win market name for the distance/country data. Seem to be getting somewhere with that will post here if ultimately successful. Thanks again.

  • Élite
  • Posts: 4458
  • Karma: +252/-10
  • Gender: Male
*
Re: Determining the duration of a race and time left till the end
« Reply #5 on: Wed, 16 February, 2011, 14:56 »
hi
just downloaded the place distance trigger.
it does not work.
because you have put a condition in the time trigger and var racetime is set.
BUT it should be
RaceTime_s_1_sel_id   is set.

keep up the good work.

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.

  • Élite
  • Posts: 4458
  • Karma: +252/-10
  • Gender: Male
*
Re: Determining the duration of a race and time left till the end
« Reply #6 on: Thu, 17 February, 2011, 14:37 »
hi
the place distance is a good trigger now i have altered the RaceTime_s_1_sel_id .
BUT it only works if i monitor 1 set of markets (win and place) at a time, if i monitor more than 1 set, then the distance is taken from the last market that gets monitored.
so the 1:00 race distance is the 3:00 race distance.

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.

  • Tim Vetrov
  • Administrator
  • Posts: 4482
  • Karma: +17/-0
  • Gender: Male
*
Re: Determining the duration of a race and time left till the end
« Reply #7 on: Thu, 17 February, 2011, 21:52 »
Set user variable -> Individually for each market
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • Élite
  • Posts: 4458
  • Karma: +252/-10
  • Gender: Male
*
Re: Determining the duration of a race and time left till the end
« Reply #8 on: Fri, 18 February, 2011, 14:14 »
hi
hmmm?, tried that and nothing works.
due to the fact that the place market has no distance.

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: 1
  • Karma: +0/-0
Re: Determining the duration of a race and time left till the end
« Reply #9 on: Fri, 01 February, 2019, 07:00 »
Moderator: The message was deleted at the poster's request.

  • All members
  • Posts: 9
  • Karma: +0/-0
  • Gender: Female
Re: Determining the duration of a race and time left till the end
« Reply #10 on: Sun, 21 April, 2019, 08:46 »
Set user variable -> Individually for each market
Can the forecast Race Time / Duration be exported from a Spreadsheet, CSV or Txt file for each Horse Racing market ?

  • Administrator
  • Posts: 8924
  • Karma: +335/-2
  • Gender: Female
*
Re: Determining the duration of a race and time left till the end
« Reply #11 on: Mon, 20 May, 2019, 09:01 »
Can the forecast Race Time / Duration be exported from a Spreadsheet, CSV or Txt file for each Horse Racing market ?

Yes you can import pretty much any data you want for markets and selections in MF Pro.

Compile a list of selections to import. If you need to import something for the whole market rather than for individual selections, then simply include all selections from that market.

You can pre-populate an import file using this trigger.

Then next to the name of the horse (in should be in double quotes), insert Tab and then the value you want to import. Example:

"My Fair Lady"      1600.8

At the end of the file insert the #all_active# keyword -- this will prevent the program from disabling the selections that are not included in the import file.

Then import this file into MF Pro ("Import selections for auto-trading") and address the imported value with the variable imported_1.
You can just as well include other values (separated by Tab) and address them by imported_2, imported_3 and so on.

Here is a video demonstrating how to import selections:

https://www.youtube.com/watch?v=-zNhSl5ypn0
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Usuários brasileiros, bem vindos ao nosso WhatsApp chat!

Присоединяйтесь к нашей официальной группе ВКонтакте!