Form indicators in VSporten. 

Form
indicator in depth 
Form indicator in depth.Team's form indicator.A team's form indicator (FI) is based on a weighted average of results of last N matches played by the team (WAM). The number N is defined by the "Number of matches" attribute of the form indicator definition. The WAMvalue together with values of Limit1 and Limit2 are then used to calculate the team's FIvalue which can be one of the following values: UP, AVERAGE, DOWN. Both FI and WAMvalues can be exported from VSporten. Form indicator algorithm.As mentioned above, a team's FI is calculated as a weighted average of results of team's last N matches. Each match will give the team the following amount of point: Each win gives W points. Each tie gives T points. Each defeat gives D points. In the standard Form Indicator: W equals 3 points, T equals 1 point and D equals 3 points. Assume that the number of matches taken into the WAM is 5 (N equals 5). Assume that the match weight for a match is equal: 5 for a last played match, 4 for a second last played match, 3 for a third last played match, 2 for a fourth last played match and finally 1 for a fifth last played match. The weighted average (WAM) of the last 5 matches will be calculated the following way: WAM=(P1*5 + P2*4 + P3*3 + P4*2 + P5*1)/(5+4+3+2+1) where PX (X=1,2,3,4,5) is equal W, T or D points depending on whether the corresponding match was a win, tie or defeat. Finally, the Form Indicator will be calculated the following way by using WAM and Limit1 and Limit2: FI = UP if WAM >= Limit2 FI = AVERAGE if Limit < WAM < Limit2 FI = DOWN if WAM<= Limit1
Defining form indicatorsIn VSporten a form indicator can be defined by using the menu Administration>Form Indicators. This menu contains two submenus Definitions and Match Weights. DefinitionsWithin this menu a user can define the basic parameters of a form indicator. The complete list of the parameters is defined below. Form indicator's attributes described.A form indicator has following attributes:
Match WeightsHere the user have to define the weights for the matches. Match index 1 means the last played match, index 2 means the second last played match and so on. In the figure above the last played match has weight of 3 while the 4th and 5th match have weight of 1. Goals Weight column is reserved for the future use.
Reviewing with form indicatorsIn Vsporten the teams FI can be inspected by using the review function (Collector) within VSporten. In the figure below the green icon corresponds to the FI=UP, the red to FI=DOWN and the grey to FI=AVERAGE.
FI in exported filesIn the export file the FI is exported as the strings Str1, Str2 and Str3 in the definition of FI. In this case the Str1=NED, Str2=MEDEL, Str3=UPP
FI exported to TTSES EditorThe figure below shows how the exported values can be verified in the TTSES Editor.
Enabling and disabling form indicatorIn Vsporten function of generating form indicators is disabled by default. Where the function is available  enabling of form indicator must be done on each single serie (league) table which has to be exported with FI or WAMvalues. Enabling of form indicator is done by using the Propertiestool applied on the serie table. To enable the function of generating form indicators for a league the user has to attach to the league a specific form indicator by selecting it from the FIlist in the Propertiestool. In the figure below the standard form indicator has been attached to the Allsvenskanleague.
To disable the function of generating form indicators for a league the user has to remove the name of the form indicator from the FIfield in the properties tool and apply the change.
