The Trainz Wiki has information on superelevation.
https://online.ts2009.com/mediaWiki/index.php/HowTo/Use_Superelevation
There is also a link in the Wiki article to an excel file that calculates the p1 (degrees) and p2 (Limit) values for your track curve radius and speed. Note that the spreadsheet uses a coma in place of the decimal point.
In TRS22 create a curve with multiple splines and two tangent splines at each end of the curve. Straighten the tangent splines using the straighten tool. Place a long ruler 90 degrees to the first tangent/curve spline point and a long ruler at 90 degrees to the curve/tangent spline point. Use F9 key to see the grid to help with being 90 degrees to the tangent tracks. The two rulers will intersect at the curve vertex. Add a 3rd ruler from the vertex to the middle of the track to measure the radius. With the radius and desired speed you can use the spreadsheet to calculate the p1 and p2 values.
Select the track. Open the 'Advanced' tab for the track and click on the "question mark", then click spline point of the first tangent/curved track. Enter the spline point superelevation 'degrees' and 'limit' per the calculation. Click save in that dialogue box. Move to the next spine point of the curved track and repeat setting the superelevation values at each curved track spline point and the last spline point of the curve/tangent track. Remember to hit save for each modified superelevation. To check that superelevation is working in Trainz greatly exaggerate the p1 value along all the curved track spline points and you will see an obvious tilt to the rolling stock. Note superelevation has a max value.