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 inanazsocial, Today, 01:15 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by rocketman7, Today, 02:12 AM
          0 responses
          10 views
          0 likes
          Last Post rocketman7  
          Started by dustydbayer, Today, 01:59 AM
          0 responses
          2 views
          0 likes
          Last Post dustydbayer  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          23 views
          0 likes
          Last Post trilliantrader  
          Started by Davidtowleii, Today, 12:15 AM
          0 responses
          3 views
          0 likes
          Last Post Davidtowleii  
          Working...
          X