Drawing Tool RiskReward

Hello, I’m currently working on a custom drawing tool that calculates the risk/reward of a position. It’s almost finished, however, there’s one part that has kept me from making progress for several weeks: how to access the ChartTrader “Order Qty” box through code so that the tool can use the number entered in that box to calculate the position size based on the number of contracts. Could you please tell me how, from a drawing tool, I can access that property through code so that my tool can read the value entered in that box?
Thank you very much