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 trilliantrader, 04-18-2024, 08:16 AM
|
5 responses
22 views
0 likes
|
Last Post Today, 12:32 AM | ||
Started by Davidtowleii, Today, 12:15 AM
|
0 responses
3 views
0 likes
|
Last Post
by Davidtowleii
Today, 12:15 AM
|
||
Started by guillembm, Yesterday, 11:25 AM
|
2 responses
9 views
0 likes
|
Last Post
by guillembm
Yesterday, 11:58 PM
|
||
Started by junkone, 04-21-2024, 07:17 AM
|
9 responses
68 views
0 likes
|
Last Post
by jeronymite
Yesterday, 11:51 PM
|
||
Started by mgco4you, Yesterday, 09:46 PM
|
1 response
12 views
0 likes
|
Last Post Yesterday, 09:56 PM |
Comment