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.
Code:if(Account.Name == "Backtest") { // Force settings for backtest }
Please let me know if i may be of further assistance.JimNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
4 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
45 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
6 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
||
Started by Conall, Today, 12:06 AM
|
0 responses
9 views
0 likes
|
Last Post
by Conall
Today, 12:06 AM
|
Comment