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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
366 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
237 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
205 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
290 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
250 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment