I was just wondering if there is a click event code in NinjaTrader8 for frontend. I wanted to manipulate (hide/show) the content of each indicators. For example, if I click ChaikinMoneyFlow, it would hide Bars Ago input. If I click the other indicator, which is KeltnerChannelUpper, it would show Bars Ago input. Is there anyway I could do this? Thank you in advance
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Click event for indicators
Collapse
X
-
Click event for indicators
Hello there,
I was just wondering if there is a click event code in NinjaTrader8 for frontend. I wanted to manipulate (hide/show) the content of each indicators. For example, if I click ChaikinMoneyFlow, it would hide Bars Ago input. If I click the other indicator, which is KeltnerChannelUpper, it would show Bars Ago input. Is there anyway I could do this? Thank you in advanceTags: None
-
Hello itgoesbrrrrrr,
You would not need a mouse event for that, you could use the property descriptor collection. There is a sample in the help guide that shows toggling properties visibility based on another property as input: https://ninjatrader.com/support/help...r_to_custo.htm
-
Hello NinjaTrader_Jesse,
So I am actually able to use inputs/dropdowns to hide/show other properties but not when I click indicators which is what I wanted. I've been searching for the code for it but I was not able to.
I saw the documentation but it doesn't say anything about clicking the indicator to hide other properties
Comment
-
Hello itgoesbrrrrrr,
The selection of the left side menu would have no visible event to the applied indicator. Any changes to the right side list would need to be done by using the property descriptor collection or using a Browsable attribute on that property however that only applies to properties of the custom indicator.
From the image I cannot tell menu that is but it appears to have an indicator selection similar to the market analyzer indicator column. If that is the case that section also appears to be a built in feature of that menu so it would not be something the indicator could control with its properties.
If you have more details of what tool/menu that is that could help to provide more details on what possibilities there could be. It would also be helpful to understand why you are trying to remove that property as it appears to be necessary for the section it is in.
Comment
-
Hello NinjaTrader_Jesse,
I wanted to hide some inputs because some indicators were not supposed to have those inputs. That was the reason why I asked if there is a click event available or similar method.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 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
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
574 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment