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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      151 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      304 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      244 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      345 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      175 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X