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 DannyP96, 05-18-2026, 02:38 PM
          1 response
          27 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          117 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          69 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          226 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          415 views
          0 likes
          Last Post CaptainJack  
          Working...
          X