What is "Relative Volume"? Have you taken the time to search? There are numerous posts on this topic already and definitions of what is meant by "Relative Volume" varies.
Edit: The author of the post has provided a link along with a definition of "premarket relative volume".
Thinkorswim contains a built-in chart study named "RelativeVolumeStDev". You can see that this alone would cause some confusion for our viewers. That built-in study is NOT the solution to this request. In addition to this, the most common definitions I have seen for "relative volume" is one that compares the average volume for each individual bar to the volume for each of those specific bars. Really confusing to try to explain but it makes sense why some would want to compute those values. However that is also NOT the solution to this request.
From the comment section below we find a third definintion of "relative volume", which is:
"The current premarket volume divided by the average daily premarket volume over the last 20 days".
Unfortunately for users of Thinkorswim, the language does not permit the use of custom sized arrays. Which makes the calculation of this "premarket relative volume", very complex. Far to complex for any solution I can provide free of charge in the Q&A Forum.