|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
ALWN1X |
Could someone write a fv formula showing;
The number of races from the total number of form past performances, that were within 1 length of winner including the wins? THANKS, THORNY |
||
|
|
Graded Stakes |
Here you go Thorny
This is for a Horse type template which your question suggests you want. This will give you the raw number as you requested: #hADDExt("ppFinish", 0, 10000, 0, 50, 0, 0, 10, 0, 10000, 1, 1)+ Abs($ppFinish[0]>1 and $ppBtnLengthsFinish[0]<=1) + Abs($ppFinish[1]>1 and $ppBtnLengthsFinish[1]<=1) + Abs($ppFinish[2]>1 and $ppBtnLengthsFinish[2]<=1) + Abs($ppFinish[3]>1 and $ppBtnLengthsFinish[3]<=1) + Abs($ppFinish[4]>1 and $ppBtnLengthsFinish[4]<=1) + Abs($ppFinish[5]>1 and $ppBtnLengthsFinish[5]<=1) + Abs($ppFinish[6]>1 and $ppBtnLengthsFinish[6]<=1) + Abs($ppFinish[7]>1 and $ppBtnLengthsFinish[7]<=1) + Abs($ppFinish[8]>1 and $ppBtnLengthsFinish[8]<=1) + Abs($ppFinish[9]>1 and $ppBtnLengthsFinish[9]<=1) This puts it in the form of the number as a percentage of the horses running lines (just added the divisor). This may be more revealing because, for example, 2 wins or finishes within 1 length for a runner with 4 starts is likely more meaningful than a horse that accomplished the same from 10 starts. (#hADDExt("ppFinish", 0, 10000, 0, 50, 0, 0, 10, 0, 10000, 1, 1)+ Abs($ppFinish[0]>1 and $ppBtnLengthsFinish[0]<=1) + Abs($ppFinish[1]>1 and $ppBtnLengthsFinish[1]<=1) + Abs($ppFinish[2]>1 and $ppBtnLengthsFinish[2]<=1) + Abs($ppFinish[3]>1 and $ppBtnLengthsFinish[3]<=1) + Abs($ppFinish[4]>1 and $ppBtnLengthsFinish[4]<=1) + Abs($ppFinish[5]>1 and $ppBtnLengthsFinish[5]<=1) + Abs($ppFinish[6]>1 and $ppBtnLengthsFinish[6]<=1) + Abs($ppFinish[7]>1 and $ppBtnLengthsFinish[7]<=1) + Abs($ppFinish[8]>1 and $ppBtnLengthsFinish[8]<=1) + Abs($ppFinish[9]>1 and $ppBtnLengthsFinish[9]<=1)) / (Abs($hrRaces>9) * 10 + Abs($hrRaces<10) * $hrRaces + 0.0000000001) |
|||
|
|
ALWN1X |
THANKS, SMICK
I do apppreciate the help! |
|||
|