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 kujista, Today, 06:23 AM
|
0 responses
1 view
0 likes
|
Last Post
by kujista
Today, 06:23 AM
|
||
Started by traderqz, Yesterday, 04:32 PM
|
1 response
10 views
0 likes
|
Last Post Today, 06:14 AM | ||
Started by f.saeidi, Today, 05:56 AM
|
1 response
4 views
0 likes
|
Last Post
by Jltarrau
Today, 06:00 AM
|
||
Started by Jltarrau, Today, 05:57 AM
|
0 responses
4 views
0 likes
|
Last Post
by Jltarrau
Today, 05:57 AM
|
||
Started by Stanfillirenfro, Yesterday, 09:19 AM
|
7 responses
52 views
0 likes
|
Last Post Today, 05:31 AM |
Comment