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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    28 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X