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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    546 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X