Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PropertyEditor for Account Name

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

    PropertyEditor for Account Name

    I know you have the following for the properties to list account names:

    [TypeConverter(typeof(NinjaTrader.NinjaScript.Accou ntNameConverter))]

    but that will give you the list of the accounts available but once selected there is not a way to clear the item from that selection.

    There is a property editor that does allow you to remove the item after selection, but I don't see a way to do it for AccountName

    #2
    Hello WHICKED,

    I am not aware of any selector which has a blank space to de select an account, the standard selectors always have a selection once connected to a data feed. Changing the selection would be the only way to deselect an account. The accounts listed are shown based on the connections that you are connected to so that list is auto populated.


    Comment


      #3
      Typically, if you have a control that allows you to change the SelectedIndex property, setting that to -1 clears the control.

      For example, if you have an AccountSelector called selAccount, you can clear any already selected Account in that control with selAccount.SelectedIndex = -1;

      Thanks.
      Multi-Dimensional Managed Trading
      jeronymite
      NinjaTrader Ecosystem Vendor - Mizpah Software

      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
      545 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