Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to add a boolean property to a custom BarType
Collapse
X
-
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?Tags: None
-
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.
- Likes 1
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
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment