Is it possible to display some properties only in the Strategy Analyzer and hide them when you add a strategy on the chart?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Hide properties on the UI
Collapse
X
-
Hello tolisss,
Thanks for opening the thread.
We have a reference sample that demonstrates how you can show and hide a property based off of another property. It would be possible to take a similar approach and show/hide elements based off of the window type that the NinjaScript is attached to.
However, there are not any documented resources I can give you that can provide further direction for detecting the window as a Strategy Analyzer Window and we will not be able to provide further support in this area.
Alternately, it is certainly possible to force some parameters based off the Account used, and the Strategy Analyzer will always use the "Backtest" Account.
The sample indicator that demonstrates how to modify the property grid can be found here: http://ninjatrader.com/support/forum...ad.php?t=97919Code:if(Account.Name == "Backtest") { // Force settings for backtest }
Please let me know if i may be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
62 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
40 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
21 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
23 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
51 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment