What is the variable name for Total Bid qty in Tradescript for e. G Total Bid qty > 5000

What is the variable name for Total Bid qty in Tradescript for e.g I want to code,

Total Bid qty > 5000

As we apply Tradescript to charts data, Bid and ask will not be plotted so, Bid and ask quantity can not be defined in tradescript,