• Get $30 off VIP with code SUMMER30. Ends July 27. Happy trading!

Can I get current "Qty:" in the Active Trader window?


New member
I want to base a calculation off the default Qty the user has entered there. Thanks


Well-known member
I don't believe that was what the OP was questioning... Active Trader displays that value by default and it can in fact be pulled using GetQuantity into Studies but the OP wanted the "default qty" which I would interpret as a system setting... Hence my answer above...

in that case you are correct, "default quantity" a system setting that you setup via the TOS settings, because "default quantity" is a static number you can just make a "calculation" by putting in the same static number into your script/calculation:

input DefaultQNTY =  100;

whenever you change "default quantity" in the TOS settings you would have to change it for the script.