--quote:"Jeff,
Is there a way in JCapper I can create a UDM which will point out my UPR odds overlays as they relate to the morning line?
I know I can do this with MLOR2 or MLOR3 if I was using AProb oddsline or JPR oddsline but I would like to do this with my UPR (User defined) oddsline.
Hope my question is clear. Thanks." --end quote
The factor you want is called MLOR5 (see the above post.)
This factor has been data window only (and playlist file mode only at that.)
In the next published program version it will be added to the sql mode enabled Data Window.
After giving it a little thought, there actually IS a way to write a sql expression to enable "grabbing" MLOR5 in a sql UDM.
Here's an example:
query start: 7/5/2010 8:42:43 AM query end: 7/5/2010 8:42:47 AM elapsed time: 4 seconds ` Data Window Settings: 999 Divisor Odds Cap: None ` SQL: SELECT * FROM STARTERHISTORY WHERE UPRMLPROB > 0 AND MLINE / ((1/ UPRMLPROB) -1) >= 2.2 ` ` Data Summary Win Place Show Mutuel Totals 5913.80 5246.60 5105.40 Bet -5966.00 -5966.00 -5966.00 Gain -52.20 -719.40 -860.60 ` Wins 385 719 1066 Plays 2983 2983 2983 PCT .1291 .2410 .3574 ` ROI 0.9913 0.8794 0.8557 Avg Mut 15.36 7.30 4.79 ` ` By: MLOR5 (data window only) ` >=Min < Max Gain Bet Roi Wins Plays Pct Impact -999.00 0.50 0.00 0.00 0.0000 0 0 .0000 0.0000 0.50 0.60 0.00 0.00 0.0000 0 0 .0000 0.0000 0.60 0.70 0.00 0.00 0.0000 0 0 .0000 0.0000 0.70 0.80 0.00 0.00 0.0000 0 0 .0000 0.0000 0.80 0.90 0.00 0.00 0.0000 0 0 .0000 0.0000 0.90 1.00 0.00 0.00 0.0000 0 0 .0000 0.0000 1.00 1.10 0.00 0.00 0.0000 0 0 .0000 0.0000 1.10 1.20 0.00 0.00 0.0000 0 0 .0000 0.0000 1.20 1.30 0.00 0.00 0.0000 0 0 .0000 0.0000 1.30 1.40 0.00 0.00 0.0000 0 0 .0000 0.0000 1.40 1.50 0.00 0.00 0.0000 0 0 .0000 0.0000 1.50 1.60 0.00 0.00 0.0000 0 0 .0000 0.0000 1.60 1.70 0.00 0.00 0.0000 0 0 .0000 0.0000 1.70 1.80 0.00 0.00 0.0000 0 0 .0000 0.0000 1.80 1.90 0.00 0.00 0.0000 0 0 .0000 0.0000 1.90 2.00 0.00 0.00 0.0000 0 0 .0000 0.0000 2.00 2.10 0.00 0.00 0.0000 0 0 .0000 0.0000 2.10 2.20 0.00 0.00 0.0000 0 0 .0000 0.0000 2.20 2.30 338.10 628.00 1.5384 41 314 .1306 1.0117 2.30 999999.00 -390.30 5338.00 0.9269 344 2669 .1289 0.9986
There are two keys to making it work:
1. Trap for a division by zero error. This part of the expresison takes care of that: UPRMLPROB > 0
2. Perform the mathematical equivalent of the MLOR5 computation withn the expression itself. This part of the expression accomplishes that: ((1/ UPRMLPROB) -1)
-jp
.
|