Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NinjaTrader.Gui.Design
Collapse
X
-
You're just using this to hide a property from the Market Analyzer correct?
There is no similar concept in NinjaTrader 8 at this time, as we saw little value in hiding properties from one feature to another. The only control you have is setting the entire object to IsChartOnly = true which will make sure the indicator only is available in the list of chart indicators.
Please let me know if there was another use case you were seeking with this attribute.MatthewNinjaTrader Product Management
-
Loading default indicators and Third party indicators..
I have a form to load Indicators, including Third-party in a ListBox. When I click an Indicator in Lisbox, it should show all the properties in a Propertygrid. How do I do that? Could you provide with some code?
Comment
-
I'll chime in on this one, as I too would have the need to show or hide various properties on demand, and believe others might as well.. My case might be a bit different, but I'll try to keep this simple and use rmk's example..Originally posted by NinjaTrader_Matthew View PostThere is no similar concept in NinjaTrader 8 at this time, as we saw little value in hiding properties from one feature to another.Please let me know if there was another use case you were seeking with this attribute.
Let's say I have a public enum with 2 items and have it set as a NinjaScriptProperty.. One represents a SMA and the other a MACD.. The code behind each of these indicators requires a totally different set of varibles, which also need defined in the properties.. But, if I choose the SMA from the indicator properties for the enum, I don't need, or want, the variable properties required for the MACD to be displayed.. I'd like to refresh the properties on that property change to hide them.
Is there an easy way to go about accomplishing this?
Comment
-
There is not an easy way, per se - you'd need to implement a TypeConverter. If you look at the DrawingTools.RegressionChannel, you will see an example of this implementation.Originally posted by -=Edge=- View PostI'll chime in on this one, as I too would have the need to show or hide various properties on demand, and believe others might as well.. My case might be a bit different, but I'll try to keep this simple and use rmk's example..
Let's say I have a public enum with 2 items and have it set as a NinjaScriptProperty.. One represents a SMA and the other a MACD.. The code behind each of these indicators requires a totally different set of varibles, which also need defined in the properties.. But, if I choose the SMA from the indicator properties for the enum, I don't need, or want, the variable properties required for the MACD to be displayed.. I'd like to refresh the properties on that property change to hide them.
Is there an easy way to go about accomplishing this?
MatthewNinjaTrader Product Management
Comment
-
I'm not 100% sure I follow, can you provide a NT7 sample or screenshot of the desired behavior?Originally posted by rmk View PostI have a form to load Indicators, including Third-party in a ListBox. When I click an Indicator in Lisbox, it should show all the properties in a Propertygrid. How do I do that? Could you provide with some code?MatthewNinjaTrader Product Management
Comment
-
Indicator Property Selection
The attached screen will load all indicators, including third party indicators.When I select an indicator from the List box, then its property should displayed on the right side .I have an OK button ,in which when i clicked the button, the selected indicator should converted to appropriate DataSeries in NT 8. How do I do that?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
673 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
379 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
111 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
578 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
582 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment