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

epete

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

XeoNoX

Well-known member
VIP
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:
example:

Code:
input DefaultQNTY =  100;

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

Similar threads

Top