Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

When is IsInStrategyAnalyzer Valid

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

    When is IsInStrategyAnalyzer Valid

    In what state is IsInStrategyAnalyzer valid? It would seem it is after SetDefaults and Configure. It would be really nice if it was available in the initial states.

    #2
    Hello aslane,

    Thank you for the post.

    For this property it would be available starting in State.Configure. Set.Defaults is only used to default properties before the user starts to select items and before the script starts so this could not be used that early due to the script not actually being applied yet. The instance you are configuring in the analyzer window before pressing run is similar to when you open the strategies menu in a chart and have not yet pressed Apply/OK.

    I can put in a feature request here, what was the intended use case where this needed to be in Set.Defaults?

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      I had a property that I wanted to default on when in/out of analyzer window. Not common but convenient.

      Comment


        #4
        Hello aslane,

        Thank you for the addition detail, I will put in a feature request for this to be available earlier.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by connorgrant5, Today, 10:29 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by frslvr, Today, 09:38 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by guitarcombs, Today, 09:21 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by Kawasaki, 03-18-2021, 08:48 PM
        6 responses
        2,207 views
        0 likes
        Last Post aytacasan  
        Started by joostb, Today, 04:40 AM
        1 response
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X