• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hide properties on the UI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hide properties on the UI

    HI

    Is it possible to display some properties only in the Strategy Analyzer and hide them when you add a strategy on the chart?

    #2
    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	
    }
    The sample indicator that demonstrates how to modify the property grid can be found here: http://ninjatrader.com/support/forum...ad.php?t=97919

    Please let me know if i may be of further assistance.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by fernlicht, Today, 01:02 AM
    0 responses
    3 views
    0 likes
    Last Post fernlicht  
    Started by julianc05, Today, 12:37 AM
    0 responses
    5 views
    0 likes
    Last Post julianc05  
    Started by JellyRoll, Yesterday, 06:57 PM
    1 response
    20 views
    0 likes
    Last Post bltdavid  
    Started by Dan_D_Trader, Yesterday, 06:22 PM
    1 response
    6 views
    0 likes
    Last Post Emma1
    by Emma1
     
    Started by gemini42, Yesterday, 01:53 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Working...
    X