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 Mokaru Zen, Today, 01:20 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by dgee949, Yesterday, 06:26 PM
        1 response
        33 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by dgee949, Yesterday, 05:58 PM
        1 response
        37 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by papaoutai, Yesterday, 08:56 AM
        1 response
        39 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by grzltn, Today, 02:18 AM
        0 responses
        12 views
        0 likes
        Last Post grzltn
        by grzltn
         
        Working...
        X