It looks like there isn't and that I won't be able to do this. But am I missing something? Is it possible?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Show/Hide Strategy Inputs Based on the Type of Instrument (Using a Type Converter)
Collapse
X
-
Show/Hide Strategy Inputs Based on the Type of Instrument (Using a Type Converter)
I'm using type converters to show or hide different input settings for a strategy I'm developing. Is there a way to access the type of instrument the strategy is being applied to inside of a type converter? If so then I could accomplish my goal.
It looks like there isn't and that I won't be able to do this. But am I missing something? Is it possible?Tags: None
-
Hello John.Wehland, thanks for your post.
I was able to get the Instrument.FullName property through my simple test:
Instrument.FullName is available at the time this code runs. It depends on exactly what your custom property is doing. If you are unable to get this to work, please share details on the custom property.Code:[PropertyEditor("NinjaTrader.Gui.Tools.MultilineEditor")] public string DisplayText { get { return Instrument.FullName; } }
Best regards.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
165 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
87 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
128 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
207 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
185 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment