hi mcbee,
OK, this is a little more complicated....
I want to raise this here, to see if you can give me all I have asked for in requesting this trigger. It is purely for my education. Because I am not fully conversant in the MFP language construct, I can't figure out many things. If it was C#, then I could do it very easily, so I am stuck, and I actually develop many applications in C# to satisfy my needs, instead of getting MFP to do them.
I would like to be able to log all of the runners, so if we have horse1 to horse9, then I would like to be able to look at them by using their name,
So, I want to see what horse3 Actual Starting Price was, and then look at its place in the race, is it 2nd, 3rd, 8th, etc
If I can then reference these values, I can set conditions for betting.
I did pick up some nice tips from the last trigger you did for me, so I can use them in future triggers.
As above, I want to be able to monitor each horse and make a decision on what I want to do with it, so, for example, I want to make sure that the current favourite, no matter what its name is, has a price of below 1.8, and the horse that has the minimum of the Actual Starting Price has drifted in price to at least 16, BUT, I also want to be able to check on how horse6 is doing, and if it is looking like it will lose, I will lay it.
I don't know how to reference the horses by name. I know that you can do r_1_sel_name to give the name of the horse in first place, this info is in the manual, but, how do I get a set of reference values for the horse by name, so, horse4 has SP of 7.4, it is now in first place, but, what position is horse7 in
how do I get the horses name that is in 1st place/2nd/3rd
how do I get to see what the lowest price of horse5 was, throughout the race up until the point of checking?
so, in summary...
1. I want to be able to discover the name of every horse, and be able to reference each runner by name, and THEN, throughout the race, access its values, such as position (current rank), its BSP.
I want to know how to be able to store any value as a variable, such as looking at horse2 price, 40 seconds after the race starts, then look how much its price has risen around 3 minutes after the off.
OK, there is a lot to look at here (imho), so, let me know if you can look to put those things into a trigger - you may realise here that I have not actually set out a strategy here, and I am just asking you to show me how to get values. When you show me how to do these things, then I can develop strategies from this.
If you can show me how to do that for say 4 horses, then I can then work out how to add in more horses - or maybe you can suggest something different...?
If this is all possible, I will just copy this into a trigger request.
Thanks
Mark.