Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to add a boolean property to a custom BarType

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

    How to add a boolean property to a custom BarType

    How do I add a boolean property to a custom BarType? Are there any examples?

    #2
    Hello sbgtrading,

    For the user interface the only supported value properties in a BarsType would be the Value/Value2 properties. BarsTypes rely on changing the name of the two properties as shown in the other bars types. All the supported properties in a BarsType can be found in the list here: https://ninjatrader.com/support/help...pertyname2.htm

    You can add other public properties or methods to your bars types class but those will not appear in the user interface. That would only really be useful if you are using the BarsType in some way from code, an example of what I am referring to would be how you access the volumetric bars custom methods in code.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    633 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    567 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X