Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Inputs in Strategy Analyzer have nothing to do with my strategy

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

    Inputs in Strategy Analyzer have nothing to do with my strategy

    I tried uninstalling NT7 and reinstalling the release version. I'm still getting this problem.

    Look at the screenshot. Notice how the only input is Lots.

    Now look at my strategy. The inputs in my strategy have *nothing* to do with what NT7 displays. What's going on and how do I fix it?
    Attached Files

    #2
    I even tried coming up with a new strategy. After awhile, everything gets overwritten with this Lots input.

    Comment


      #3
      Hello TexasNomad,

      The input is created by the existence of public property Lots. If you don't want this as an input, remove the public property:

      #region Properties
      [Description("")]
      [GridCategory("Parameters")]
      public int Lots
      {
      get { return lots; }
      set { lots = Math.Max(1, value); }
      }
      Ryan M.NinjaTrader Customer Service

      Comment


        #4
        Where did Ticks and Separation distance go???

        Comment


          #5
          For ticks and separation, you need to add the Description and GridCategory.


          #region Properties
          [Description("")]
          [GridCategory("Parameters")]
          public int Ticks
          {
          get { return ticks; }
          set { ticks = Math.Max( 1, value); }
          }

          [Description("")]
          [GridCategory("Parameters")]
          public int SeparationDistance
          {
          get { return separationDistance; }
          set { separationDistance = Math.Max( 1, value); }
          }
          #endregion
          Ryan M.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          144 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          71 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          125 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          79 views
          0 likes
          Last Post PaulMohn  
          Working...
          X