Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using ChartTrader QuantitySelector

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Using ChartTrader QuantitySelector

    Hello, I am customizing the Chart Trader Order Quantity Selector and wonder if someone can direct me to how to control or focus the controls best as they are in the current state.
    Should I be creating controls in VS to correctly access the order Qty button controls?
    Or can I get help to how to evoke and event that allows me to specify logic to my Selectors, ie is there events to say when sender clears value fields I can set a int value to 0, and when sender clicks one of the 12 numeric buttons in the pop up menue I will increment my int to a value which the button indicating of the menu.

    #2

    Hello LoganJKTrader,

    You can see a sample of working with the quantity control here: https://ninjatrader.com/support/foru...365#post736365

    To set its value you would use its Value property, no focusing is needed for that use case. You don't need to use visual studio for this either.

    There are not any specific events for the control in NinjaScript, you may be able to use a WPF value changed event with the control.

    quantitySelector.ValueChanged

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    54 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    17 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X