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 argusthome, 03-08-2026, 10:06 AM
          0 responses
          85 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          47 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          29 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          32 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          67 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X